tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
slurm service: robust reference to slurm bin output
Joachim Fasting
9 years ago
b05bb303
c420d0fb
+1
-1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
computing
slurm
slurm.nix
+1
-1
nixos/modules/services/computing/slurm/slurm.nix
···
111
builder = pkgs.writeText "builder.sh" ''
112
source $stdenv/setup
113
mkdir -p $out/bin
114
-
find ${cfg.package}/bin -type f -executable | while read EXE
115
do
116
exename="$(basename $EXE)"
117
wrappername="$out/bin/$exename"
···
111
builder = pkgs.writeText "builder.sh" ''
112
source $stdenv/setup
113
mkdir -p $out/bin
114
+
find ${getBin cfg.package}/bin -type f -executable | while read EXE
115
do
116
exename="$(basename $EXE)"
117
wrappername="$out/bin/$exename"