mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 22:13:28 +01:00
disko-install: fix case where lib in NixOS is not defined
This seems like a recent addition that we don't have on all NixOS machines.
This commit is contained in:
1 parent
7d25dc74c5
commit
5866ae41f7
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ let
|
|||||||
originalSystem = (builtins.getFlake "${flake}").nixosConfigurations."${flakeAttr}";
|
originalSystem = (builtins.getFlake "${flake}").nixosConfigurations."${flakeAttr}";
|
||||||
diskoSystem =
|
diskoSystem =
|
||||||
let
|
let
|
||||||
lib = originalSystem.lib;
|
lib = originalSystem.pkgs.lib;
|
||||||
|
|
||||||
modifiedDisks = builtins.mapAttrs
|
modifiedDisks = builtins.mapAttrs
|
||||||
(name: value: let
|
(name: value: let
|
||||||
|
|||||||
Reference in new issue
Block a user