aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 409947c..079ae8b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -90,9 +90,12 @@
}
);
legacyPackages = forAllSystems (
- { pkgs, ... }:
+ { pkgs, system, ... }:
+ let
+ nixPkg = nix.packages.${system}.nix;
+ in
{
- nixosTests = pkgs.callPackage ./nixos/tests/all-tests.nix { };
+ nixosTests = pkgs.callPackage ./nixos/tests/all-tests.nix { nix = nixPkg; };
}
);
checks = forAllSystems (