qemu-vm: fix case-hack appearing in store image (#347636)

This commit is contained in:
nikstur
2024-10-12 21:50:11 +02:00
committed by GitHub
+1
View File
@@ -141,6 +141,7 @@ let
--absolute-names \
--verbatim-files-from \
--transform 'flags=rSh;s|/nix/store/||' \
--transform 'flags=rSh;s|~nix~case~hack~[[:digit:]]\+||g' \
--files-from ${hostPkgs.closureInfo { rootPaths = [ config.system.build.toplevel regInfo ]; }}/store-paths \
| ${hostPkgs.erofs-utils}/bin/mkfs.erofs \
--quiet \