makeWrapper: delete --set-eval

because --run is good enough.
This commit is contained in:
Orivej Desh
2017-11-17 12:53:54 +00:00
parent 74648f7466
commit fbdc74c761
3 changed files with 2 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
wrapProgram "$path" \
--prefix PERL5LIB : $PERL5LIB:$out/bin \
--set POPFILE_ROOT $out/bin \
--set-eval POPFILE_USER '$''\{POPFILE_USER:-$HOME/.popfile}' \
--run 'export POPFILE_USER=''${POPFILE_USER:-$HOME/.popfile}' \
--run 'test -d "$POPFILE_USER" || mkdir -m 0700 -p "$POPFILE_USER"'
done
'';