diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-05-30 20:42:17 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-05-30 20:42:17 +0200 |
commit | c11e7a361a24a2445a53cfa255bbfd34593e8d4f (patch) | |
tree | 095fef670a228dc572d75afe8a60f78989f4f7e9 | |
parent | 73935efb5e4fa2eb0c703b546c46de9f8d8d1859 (diff) |
Fix wrong argument: --cores is required here
-rwxr-xr-x | nix-script-update-package-def.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-script-update-package-def.sh b/nix-script-update-package-def.sh index 50c0b4a..1496891 100755 --- a/nix-script-update-package-def.sh +++ b/nix-script-update-package-def.sh @@ -193,7 +193,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 |