slurm service: robust reference to slurm bin output

This commit is contained in:
Joachim Fasting 2016-05-28 01:30:19 +02:00
parent c420d0fb28
commit b05bb30361
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4

View file

@ -111,7 +111,7 @@ in
builder = pkgs.writeText "builder.sh" ''
source $stdenv/setup
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
exename="$(basename $EXE)"
wrappername="$out/bin/$exename"