make-system-tarball: drop references to build closure

This commit is contained in:
Michael Hoang
2025-07-16 15:31:26 +10:00
parent acfcf0f40b
commit 575a9f0e0b

View File

@@ -41,6 +41,10 @@ stdenv.mkDerivation {
name = "tarball";
__structuredAttrs = true;
# the tarball will be self-contained so we can drop references
# to the closure that was used to build it
unsafeDiscardReferences.out = true;
buildCommandPath = ./make-system-tarball.sh;
nativeBuildInputs = extraInputs;