Merge pull request #225264 from trofi/nodejs-no-CA

nodejs: explicitly disable __contentAddressed
This commit is contained in:
Sergei Trofimovich 2023-04-14 08:53:08 +01:00 committed by GitHub
commit 916d029b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,6 +96,14 @@ let
enableParallelBuilding = true;
# Don't allow enabling content addressed conversion as `nodejs`
# checksums it's image before conversion happens and image loading
# breaks:
# $ nix build -f. nodejs --arg config '{ contentAddressedByDefault = true; }'
# $ ./result/bin/node
# Check failed: VerifyChecksum(blob).
__contentAddressed = false;
passthru.interpreterName = "nodejs";
passthru.pkgs = callPackage ../../node-packages/default.nix {