meta: remove redundant nixpkgs import

This commit is contained in:
Max Headroom 2022-07-31 21:26:12 +02:00
parent 41f929392e
commit 5498b09cf2

View file

@ -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 = {