thelounge: clean up all napi temporary files
This commit is contained in:
@@ -78,9 +78,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
# Build the sqlite3 package.
|
# Build the sqlite3 package.
|
||||||
npm_config_nodedir="${srcOnly nodejs}" npm_config_node_gyp="${buildPackages.nodejs}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" npm rebuild --verbose --sqlite=${sqlite.dev}
|
npm_config_nodedir="${srcOnly nodejs}" npm_config_node_gyp="${buildPackages.nodejs}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" npm rebuild --verbose --sqlite=${sqlite.dev}
|
||||||
|
'';
|
||||||
|
|
||||||
# These files seemingly aren't needed, and also might not exist when the Darwin sandbox is disabled?
|
postInstall = ''
|
||||||
rm -rf node_modules/sqlite3/build-tmp-napi-v6/{Release/obj.target,node_sqlite3.target.mk}
|
rm -r $out/lib/node_modules/thelounge/node_modules/sqlite3/build/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontNpmPrune = true;
|
dontNpmPrune = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user