mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
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)
This commit is contained in:
1 parent
aecba248f9
commit
2055a08fd0
1 file changed
+3
@@ -24,6 +24,9 @@
|
|||||||
|
|
||||||
diskoLib = import ./lib {
|
diskoLib = import ./lib {
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
|
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");
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user