Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 13 lines 474 B view raw
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" 6 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} 11 12 # now clobber the environment to just PATH and UT_TEST 13 UT_TEST= unexport-env