add more pre-commit-hooks
This commit is contained in:
parent
93331e06f3
commit
21a610df37
3 changed files with 35 additions and 27 deletions
|
|
@ -2,10 +2,12 @@
|
|||
|
||||
{
|
||||
# synix packages accessible through 'pkgs.synix'
|
||||
synix-packages = final: prev: { synix = inputs.synix.packages."${final.system}"; };
|
||||
synix-packages = final: _prev: {
|
||||
synix = inputs.synix.packages."${final.stdenv.hostPlatform.system}";
|
||||
};
|
||||
|
||||
# packages in `pkgs/` accessible through 'pkgs.local'
|
||||
local-packages = final: prev: { local = import ../pkgs { pkgs = final; }; };
|
||||
local-packages = final: _prev: { local = import ../pkgs { pkgs = final; }; };
|
||||
|
||||
# https://nixos.wiki/wiki/Overlays
|
||||
modifications =
|
||||
|
|
@ -20,7 +22,7 @@
|
|||
# old-stable nixpkgs accessible through 'pkgs.old-stable'
|
||||
old-stable-packages = final: prev: {
|
||||
old-stable = import inputs.nixpkgs-old-stable {
|
||||
inherit (final) system;
|
||||
inherit (final.stdenv.hostPlatform) system;
|
||||
inherit (prev) config;
|
||||
};
|
||||
};
|
||||
|
|
@ -28,7 +30,7 @@
|
|||
# unstable nixpkgs accessible through 'pkgs.unstable'
|
||||
unstable-packages = final: prev: {
|
||||
unstable = import inputs.nixpkgs-unstable {
|
||||
inherit (final) system;
|
||||
inherit (final.stdenv.hostPlatform) system;
|
||||
inherit (prev) config;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue