Skip to content

Commit c978acc

Browse files
SuperSandro2000astro
authored andcommitted
store-disk: break references
Closes #228
1 parent 5e1b3db commit c978acc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nixos-modules/microvm/store-disk.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@ in
6565
pkgs.buildPackages.time
6666
pkgs.buildPackages.bubblewrap
6767
{
68-
squashfs = [ pkgs.buildPackages.squashfs-tools-ng ];
69-
erofs = [ erofs-utils ];
68+
squashfs = pkgs.buildPackages.squashfs-tools-ng;
69+
erofs = erofs-utils;
7070
}.${config.microvm.storeDiskType}
7171
];
7272
passthru = {
7373
inherit regInfo;
7474
};
75+
__structuredAttrs = true;
76+
unsafeDiscardReferences.out = true;
7577
} ''
7678
mkdir store
7779
BWRAP_ARGS="--dev-bind / / --chdir $(pwd)"

0 commit comments

Comments
 (0)