mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos/image/repart: unsafeDiscardReferences.out = true
Lets set this in the repart module instead of the verity module
This commit is contained in:
parent
9fd89c03fe
commit
1b592cdeb4
2 changed files with 5 additions and 8 deletions
|
@ -101,6 +101,11 @@ in
|
||||||
) // {
|
) // {
|
||||||
__structuredAttrs = true;
|
__structuredAttrs = true;
|
||||||
|
|
||||||
|
|
||||||
|
# the image will be self-contained so we can drop references
|
||||||
|
# to the closure that was used to build it
|
||||||
|
unsafeDiscardReferences.out = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
systemd
|
systemd
|
||||||
fakeroot
|
fakeroot
|
||||||
|
|
|
@ -117,10 +117,6 @@ in
|
||||||
|
|
||||||
# do not prepare the ESP, this is done in the final image
|
# do not prepare the ESP, this is done in the final image
|
||||||
systemdRepartFlags = previousAttrs.systemdRepartFlags ++ [ "--defer-partitions=esp" ];
|
systemdRepartFlags = previousAttrs.systemdRepartFlags ++ [ "--defer-partitions=esp" ];
|
||||||
|
|
||||||
# the image will be self-contained so we can drop references
|
|
||||||
# to the closure that was used to build it
|
|
||||||
unsafeDiscardReferences.out = true;
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -210,10 +206,6 @@ in
|
||||||
|
|
||||||
rm -v repart-output_orig.json
|
rm -v repart-output_orig.json
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# the image will be self-contained so we can drop references
|
|
||||||
# to the closure that was used to build it
|
|
||||||
unsafeDiscardReferences.out = true;
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue