diff --git a/flake.nix b/flake.nix index 676329c4..dc44b901 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,24 @@ "$packageOut"/tsconfig.json \ "$packageOut"/LICENSE \ "$packageOut"/ADDITIONAL_TERMS \ - "$packageOut"/README.md; + "$packageOut"/README.md \ + "$packageOut"/shims \ + "$packageOut"/flake.lock \ + "$packageOut"/jest.config.mjs \ + "$packageOut"/npmDepsHash; + mkdir "$packageOut"/tempModules; + cp -r --parents "$packageOut"/node_modules/@matrixai/db/prebuilds/linux-x64 "$packageOut"/tempModules; + cp -r --parents "$packageOut"/node_modules/@matrixai/exec-linux-x64/node.napi.node "$packageOut"/tempModules; + cp -r --parents "$packageOut"/node_modules/@matrixai/exec-linux-x64/package.json "$packageOut"/tempModules; + cp -r --parents "$packageOut"/node_modules/@matrixai/mdns-linux-x64/node.napi.node "$packageOut"/tempModules; + cp -r --parents "$packageOut"/node_modules/@matrixai/mdns-linux-x64/package.json "$packageOut"/tempModules; + cp -r --parents "$packageOut"/node_modules/@matrixai/quic-linux-x64/node.napi.node "$packageOut"/tempModules; + cp -r --parents "$packageOut"/node_modules/@matrixai/quic-linux-x64/package.json "$packageOut"/tempModules; + cp -r --parents "$packageOut"/node_modules/fd-lock/prebuilds/linux-x64 "$packageOut"/tempModules; + cp -r --parents "$packageOut"/node_modules/sodium-native/prebuilds/linux-x64 "$packageOut"/tempModules; + rm -rf "$packageOut"/node_modules; + mv "$packageOut"/tempModules/"$packageOut"/node_modules "$packageOut"/ + rm -rf "$packageOut"/tempModules; ''; }; diff --git a/npmDepsHash b/npmDepsHash index 5458db42..3bfb885a 100644 --- a/npmDepsHash +++ b/npmDepsHash @@ -1 +1 @@ -sha256-vWlgkQ7nOIkDrOYoWnRTietD9ofWGZahLBeD3dzhiZg= +sha256-7czwtVrrRGqjao9l4wjt5aXxSHrAgAuB0JzyixnKntI= diff --git a/package-lock.json b/package-lock.json index 97d41f4d..3f246323 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "polykey-cli", - "version": "0.18.10", + "version": "0.18.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "polykey-cli", - "version": "0.18.10", + "version": "0.18.11", "license": "GPL-3.0", "bin": { "pk": "dist/polykey.mjs", diff --git a/package.json b/package.json index 3ab681b6..d503d840 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polykey-cli", - "version": "0.18.10", + "version": "0.18.11", "homepage": "https://polykey.com", "author": "Roger Qiu", "contributors": [