exec: Avoid variable expansion at build

All bash variables passed in env, pre or post are now expanded at
execution time..
This commit is contained in:
Rodrigo Arias 2020-11-20 13:54:45 +01:00
parent daadcc93d0
commit e8f649327a

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation {
preferLocalBuild = true;
phases = [ "installPhase" ];
installPhase = ''
cat > $out <<EOF
cat > $out <<'EOF'
#!/bin/sh
${env}