root: fix environment setup
1) s/envHook/postHook/ 2) patch to not set $p that fixes nested ```nix-shell -p root``` calls
This commit is contained in:
@@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "186i7ni75yvjydy6lpmaplqxfb5z2019bgpbhff1n6zn2qlrff2r";
|
||||
})
|
||||
./sw_vers.patch
|
||||
|
||||
# this prevents thisroot.sh from setting $p, which interferes with stdenv setup
|
||||
./thisroot.patch
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
Reference in New Issue
Block a user