Merge pull request #147933 from talyz/make-disk-image-nix-2.4

make-disk-image: Make additionalPaths work with Nix 2.4
This commit is contained in:
Robert Hensing 2021-11-29 22:50:07 +01:00 committed by GitHub
commit 0868d2fde1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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