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:
@@ -6,4 +6,4 @@ thisroot () {
|
||||
source @out@/bin/thisroot.sh
|
||||
}
|
||||
|
||||
envHooks+=(thisroot)
|
||||
postHooks+=(thisroot)
|
||||
|
||||
Reference in New Issue
Block a user