summaryrefslogtreecommitdiffhomepage
path: root/nix/node-modules.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/node-modules.nix')
-rw-r--r--nix/node-modules.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/nix/node-modules.nix b/nix/node-modules.nix
index be7edd9c7..2a8f0a47c 100644
--- a/nix/node-modules.nix
+++ b/nix/node-modules.nix
@@ -5,6 +5,8 @@
bun,
cacert,
curl,
+ bunCpu,
+ bunOs,
}:
args:
stdenvNoCC.mkDerivation {
@@ -29,8 +31,8 @@ stdenvNoCC.mkDerivation {
export HOME=$(mktemp -d)
export BUN_INSTALL_CACHE_DIR=$(mktemp -d)
bun install \
- --cpu="*" \
- --os="*" \
+ --cpu="${bunCpu}" \
+ --os="${bunOs}" \
--frozen-lockfile \
--ignore-scripts \
--no-progress \