mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-10-01 14:33:29 +00:00
flake: add gh-notify to inputs
This commit is contained in:
parent
7dd4c1721f
commit
010b57d913
2 changed files with 23 additions and 1 deletions
BIN
flake.lock
generated
BIN
flake.lock
generated
Binary file not shown.
24
flake.nix
24
flake.nix
|
@ -60,6 +60,7 @@
|
|||
"gcolor"
|
||||
"tailray"
|
||||
"nh"
|
||||
"gh-notify"
|
||||
|
||||
# 3rd party packages
|
||||
"wiremix"
|
||||
|
@ -74,13 +75,29 @@
|
|||
in
|
||||
base // mappedPkgs;
|
||||
|
||||
formatter = config.packages.alejandra-custom;
|
||||
# Formatter that traverses the entire tree and formats Nix files
|
||||
formatter = pkgs.writeShellApplication {
|
||||
name = "nix3-fmt-wrapper";
|
||||
|
||||
runtimeInputs = [
|
||||
config.packages.alejandra-custom
|
||||
pkgs.fd
|
||||
];
|
||||
|
||||
text = ''
|
||||
fd "$@" -t f -e nix -x alejandra -q '{}'
|
||||
'';
|
||||
};
|
||||
|
||||
devShells = {
|
||||
default = pkgs.mkShellNoCC {
|
||||
name = "nyxexprs";
|
||||
packages = [pkgs.npins];
|
||||
};
|
||||
};
|
||||
|
||||
# In case I ever decide to use Hydra.
|
||||
hydraJobs = self.packages;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -143,6 +160,11 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
gh-notify = {
|
||||
url = "github:notashelf/gh-notify";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# 3rd party flakes that I want to extract packages from
|
||||
wiremix = {
|
||||
url = "github:tsowell/wiremix";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue