mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-10-01 22:43:39 +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"
|
"gcolor"
|
||||||
"tailray"
|
"tailray"
|
||||||
"nh"
|
"nh"
|
||||||
|
"gh-notify"
|
||||||
|
|
||||||
# 3rd party packages
|
# 3rd party packages
|
||||||
"wiremix"
|
"wiremix"
|
||||||
|
@ -74,13 +75,29 @@
|
||||||
in
|
in
|
||||||
base // mappedPkgs;
|
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 = {
|
devShells = {
|
||||||
default = pkgs.mkShellNoCC {
|
default = pkgs.mkShellNoCC {
|
||||||
name = "nyxexprs";
|
name = "nyxexprs";
|
||||||
packages = [pkgs.npins];
|
packages = [pkgs.npins];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# In case I ever decide to use Hydra.
|
||||||
|
hydraJobs = self.packages;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -143,6 +160,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
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
|
# 3rd party flakes that I want to extract packages from
|
||||||
wiremix = {
|
wiremix = {
|
||||||
url = "github:tsowell/wiremix";
|
url = "github:tsowell/wiremix";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue