mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
pnpm_{8,9}: remove uneeded binary files from src
This commit is contained in:
parent
b692500229
commit
711884c566
@ -17,6 +17,11 @@
|
||||
url = "https://registry.npmjs.org/pnpm/-/pnpm-${finalAttrs.version}.tgz";
|
||||
inherit hash;
|
||||
};
|
||||
# Remove binary files from src, we don't need them, and this way we make sure
|
||||
# our distribution is free of binaryNativeCode
|
||||
preConfigure = ''
|
||||
rm -r dist/reflink.*node dist/vendor
|
||||
'';
|
||||
|
||||
buildInputs = lib.optionals withNode [ nodejs ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user