summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnix-script-update-package-def.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-script-update-package-def.sh b/nix-script-update-package-def.sh
index 5db894f..7b76432 100755
--- a/nix-script-update-package-def.sh
+++ b/nix-script-update-package-def.sh
@@ -194,7 +194,7 @@ then
[[ ! -z "$J" ]] && __j="-j $J"
__cores=""
- [[ ! -z "$CORES" ]] && __cores="-j $CORES"
+ [[ ! -z "$CORES" ]] && __cores="--cores $CORES"
ask_execute "Build '$PKG' in nixpkgs clone at '$NIXPKGS'" nix-build -A $PKG -I $NIXPKGS $__j $__cores
fi