Skip to content

Commit 2055a08

Browse files
wolfgangwaltherMic92
authored andcommitted
flake: export lib with references to nixpkgs input
This previously pointed at `<nixpkgs/...>`, which might be anything. It caused this error for me, when I tried to use `lib.makeDiskoTest` downstream: error: cannot look up '<nixpkgs/nixos/tests/make-test-python.nix>' in pure evaluation mode (use '--impure' to override)
1 parent aecba24 commit 2055a08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flake.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424

2525
diskoLib = import ./lib {
2626
inherit (nixpkgs) lib;
27+
makeTest = import (nixpkgs + "/nixos/tests/make-test-python.nix");
28+
eval-config = import (nixpkgs + "/nixos/lib/eval-config.nix");
29+
qemu-common = import (nixpkgs + "/nixos/lib/qemu-common.nix");
2730
};
2831
in
2932
{

0 commit comments

Comments
 (0)