diff options
author | zimbatm <zimbatm@zimbatm.com> | 2022-12-22 11:09:04 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2022-12-23 17:43:12 +0100 |
commit | 8c0fa72ab47fb322ad322fba91629dd7d044e81a (patch) | |
tree | 64a525f40d7e261dc758bf30bda893e07cd44fbd | |
parent | 8ae729e9be221bfc9fe4ade4195f42f8d4f2e757 (diff) |
pass lib along
Avoid impurities
-rw-r--r-- | cli.nix | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,7 +6,9 @@ , noDeps ? false , ... }@args: let - disko = import ./. { }; + disko = import ./. { + lib = pkgs.lib; + }; diskFormat = if flake != null then (pkgs.lib.attrByPath [ "diskoConfigurations" flakeAttr ] (builtins.abort "${flakeAttr} does not exist") (builtins.getFlake flake)) args |