chore(package.nix): Use getExe and env
This commit is contained in:
parent
d8a9d8753a
commit
73b13f2d92
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
buildInputs = [ nix-eval-jobs ];
|
||||
|
||||
NIX_EVAL_JOBS = "${nix-eval-jobs}/bin/nix-eval-jobs";
|
||||
env.NIX_EVAL_JOBS = lib.getExe nix-eval-jobs;
|
||||
|
||||
preBuild = ''
|
||||
if [[ -z "$NIX_EVAL_JOBS" ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue