meta: remove redundant nixpkgs import
This commit is contained in:
parent
41f929392e
commit
5498b09cf2
1 changed files with 2 additions and 4 deletions
|
@ -12,9 +12,7 @@
|
|||
|
||||
forSystems = nixpkgs.lib.genAttrs systems;
|
||||
|
||||
nixpkgsFor = system: import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
nixpkgsFor = nixpkgs.legacyPackages;
|
||||
|
||||
inherit (nixpkgs) lib;
|
||||
|
||||
|
@ -78,7 +76,7 @@
|
|||
mkDeployments = hosts: overrides: lib.genAttrs hosts
|
||||
(host: mkDeploy host // (overrides.${host} or {}) );
|
||||
|
||||
effects = inputs.hercules-ci-effects.lib.withPkgs (nixpkgsFor "x86_64-linux");
|
||||
effects = inputs.hercules-ci-effects.lib.withPkgs (nixpkgsFor.x86_64-linux);
|
||||
in flake-parts.lib.mkFlake { inherit self; } {
|
||||
inherit systems;
|
||||
flake = {
|
||||
|
|
Loading…
Reference in a new issue