mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
slurm service: robust reference to slurm bin output
This commit is contained in:
parent
c420d0fb28
commit
b05bb30361
@ -111,7 +111,7 @@ in
|
|||||||
builder = pkgs.writeText "builder.sh" ''
|
builder = pkgs.writeText "builder.sh" ''
|
||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
find ${cfg.package}/bin -type f -executable | while read EXE
|
find ${getBin cfg.package}/bin -type f -executable | while read EXE
|
||||||
do
|
do
|
||||||
exename="$(basename $EXE)"
|
exename="$(basename $EXE)"
|
||||||
wrappername="$out/bin/$exename"
|
wrappername="$out/bin/$exename"
|
||||||
|
Loading…
Reference in New Issue
Block a user