forked from lix-project/lix
devShell: Fix errors with environment variables
Previous code assumed that $MANPATH always exists
Change-Id: I5a4d012045ba6ff9086373b3f46a75d82285d393
This commit is contained in:
parent
fa92f41a18
commit
3dced96741
|
@ -493,9 +493,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
return
|
||||
fi
|
||||
|
||||
PATH=$prefix/bin:$PATH
|
||||
PATH=$prefix/bin''${PATH:+:''${PATH}}
|
||||
unset PYTHONPATH
|
||||
export MANPATH=$out/share/man:$MANPATH
|
||||
export MANPATH=$out/share/man''${MANPATH:+:''${MANPATH}}
|
||||
|
||||
# Make bash completion work.
|
||||
XDG_DATA_DIRS+=:$out/share
|
||||
|
|
Loading…
Reference in a new issue