Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / bm / bmake / 003-fix-unexport-env-test.diff
blobfbf7225a6d6f23dba52c205914e3ca1974ab31c2
1 --- bmake/unit-tests/unexport-env.mk.orig 2021-05-27 14:44:45.263392298 +0200
2 +++ bmake/unit-tests/unexport-env.mk 2021-05-27 14:46:46.188881996 +0200
3 @@ -4,8 +4,8 @@
4 FILTER_CMD= grep ^UT_
5 .include "export.mk"
7 -# an example of setting up a minimal environment.
8 -PATH= /bin:/usr/bin:/sbin:/usr/sbin
9 +# preserve PATH so commands used in the "all" target are still available
10 +PATH := ${PATH}
12 # now clobber the environment to just PATH and UT_TEST
13 UT_TEST= unexport-env