diff --git a/package.nix b/package.nix index f70cbb3b1..d62e1e719 100644 --- a/package.nix +++ b/package.nix @@ -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