diff --git a/nixos/lib/make-disk-image.nix b/nixos/lib/make-disk-image.nix index 0a4a71fadc42..15302ae82414 100644 --- a/nixos/lib/make-disk-image.nix +++ b/nixos/lib/make-disk-image.nix @@ -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