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;
|
forSystems = nixpkgs.lib.genAttrs systems;
|
||||||
|
|
||||||
nixpkgsFor = system: import nixpkgs {
|
nixpkgsFor = nixpkgs.legacyPackages;
|
||||||
inherit system;
|
|
||||||
};
|
|
||||||
|
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
|
|
||||||
|
@ -78,7 +76,7 @@
|
||||||
mkDeployments = hosts: overrides: lib.genAttrs hosts
|
mkDeployments = hosts: overrides: lib.genAttrs hosts
|
||||||
(host: mkDeploy host // (overrides.${host} or {}) );
|
(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; } {
|
in flake-parts.lib.mkFlake { inherit self; } {
|
||||||
inherit systems;
|
inherit systems;
|
||||||
flake = {
|
flake = {
|
||||||
|
|
Loading…
Reference in a new issue