mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00: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:
parent
7d25dc74c5
commit
5866ae41f7
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ let
|
|||
originalSystem = (builtins.getFlake "${flake}").nixosConfigurations."${flakeAttr}";
|
||||
diskoSystem =
|
||||
let
|
||||
lib = originalSystem.lib;
|
||||
lib = originalSystem.pkgs.lib;
|
||||
|
||||
modifiedDisks = builtins.mapAttrs
|
||||
(name: value: let
|
||||
|
|
Loading…
Reference in a new issue