Skip to content

Commit

Permalink
pnpm_{8,9}: remove uneeded binary files from src
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar committed Jun 3, 2024
1 parent b692500 commit 711884c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/tools/pnpm/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];

Expand Down

0 comments on commit 711884c

Please sign in to comment.