mirror of
https://github.com/ilyakooo0/streamly.git
synced 2024-09-11 08:25:40 +03:00
Use a local .cabal dir for nix shell
This commit is contained in:
parent
178b0bafda
commit
c57d6db136
@ -123,6 +123,7 @@ let haskellPackages =
|
||||
else [];
|
||||
# Use a better prompt
|
||||
shellHook = ''
|
||||
export CABAL_DIR="$(pwd)/.cabal.nix"
|
||||
if test -n "$PS_SHELL"
|
||||
then
|
||||
export PS1="$PS_SHELL\[$bldred\](nix)\[$txtrst\] "
|
||||
|
Loading…
Reference in New Issue
Block a user