disko: get rid of impure imports

This is a backwards-incompatible change but it allows to pin nixpkgs,
which is desirable especially in professional environments where
reproduciblity is important.
This commit is contained in:
Jörg Thalheim committed 2022-08-17 14:53:43 +02:00
1 parent 2fc06462ce
commit 20bfa32750
5 files changed
+38 -25

No files matched your search

+2 -2
View File
@@ -1,4 +1,5 @@
with import <nixpkgs/lib>;
{ lib }:
with lib;
with builtins;
let {
@@ -130,5 +131,4 @@ let {
mount.table = q: x:
foldl' recursiveUpdate {} (imap (index: mount-f (q // { inherit index; })) x.partitions);
}