mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
lib: pass stdenv to qemu-common not pkgs
This commit is contained in:
1 parent
5ae05d98d2
commit
ec90d55ff3
1 file changed
+7
-2
+7
-2
@@ -6,8 +6,13 @@
|
|||||||
qemu-common ? import <nixpkgs/nixos/lib/qemu-common.nix>,
|
qemu-common ? import <nixpkgs/nixos/lib/qemu-common.nix>,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# qemu-common is a function that takes { lib, pkgs } and returns QEMU utilities
|
# qemu-common is a function that takes { lib, stdenv } and returns QEMU utilities
|
||||||
qemu-common-lib = pkgs: qemu-common { inherit lib pkgs; };
|
qemu-common-lib =
|
||||||
|
pkgs:
|
||||||
|
qemu-common {
|
||||||
|
inherit lib;
|
||||||
|
inherit (pkgs) stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
outputs = import ../default.nix { inherit lib diskoLib; };
|
outputs = import ../default.nix { inherit lib diskoLib; };
|
||||||
diskoLib = {
|
diskoLib = {
|
||||||
|
|||||||
Reference in new issue
Block a user