srun: don't expand variables on install
This commit is contained in:
parent
1291b90b7f
commit
8a77900201
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
dontPatchShebangs = true;
|
dontPatchShebangs = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cat > $out <<EOF
|
cat > $out <<'EOF'
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
exec ${slurm}/bin/srun \
|
exec ${slurm}/bin/srun \
|
||||||
--mpi=pmi2 \
|
--mpi=pmi2 \
|
||||||
|
Loading…
Reference in New Issue
Block a user