mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 21:43:29 +01:00
stop using pkgs.path
pkgs.path is an expensive copy operation that slow down evaluation by a lot.
This commit is contained in:
1 parent
a799338d17
commit
e86a890795
2 files changed
+7
-5
No files matched your search
@@ -62,9 +62,9 @@
|
||||
nixosTests = lib.optionalAttrs pkgs.stdenv.hostPlatform.isx86_64 (
|
||||
import ./tests {
|
||||
inherit pkgs;
|
||||
makeTest = import (pkgs.path + "/nixos/tests/make-test-python.nix");
|
||||
eval-config = import (pkgs.path + "/nixos/lib/eval-config.nix");
|
||||
qemu-common = import (pkgs.path + "/nixos/lib/qemu-common.nix");
|
||||
makeTest = import (nixpkgs + "/nixos/tests/make-test-python.nix");
|
||||
eval-config = import (nixpkgs + "/nixos/lib/eval-config.nix");
|
||||
qemu-common = import (nixpkgs + "/nixos/lib/qemu-common.nix");
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user