qemu-vm: fix case-hack appearing in store image

This commit is contained in:
Michael Hoang 2024-10-09 16:26:16 +11:00
parent c31898adf5
commit b2e9cc6167

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 \