make-disk-image: Make additionalPaths work with Nix 2.4

The `nix` command is marked as experimental since 2.4, so an extra
flag is required to unlock it.
This commit is contained in:
talyz
2021-11-29 21:11:15 +01:00
parent 33da2dcc49
commit e8cc900eae
+1 -1
View File
@@ -281,7 +281,7 @@ let format' = format; in let
--substituters ""
${optionalString (additionalPaths' != []) ''
nix copy --to $root --no-check-sigs ${concatStringsSep " " additionalPaths'}
nix --extra-experimental-features nix-command copy --to $root --no-check-sigs ${concatStringsSep " " additionalPaths'}
''}
diskImage=nixos.raw