Update dynamic.nix (#75)

This commit is contained in:
Moritz Angermann 2023-07-03 15:35:56 +02:00 committed by GitHub
parent 09b8f1257f
commit 04a5a7e95b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,10 @@ pkgs.mkShell {
export PS1="\[\033[01;33m\][\w]$\[\033[00m\] "
${figlet}/bin/figlet -f rectangles 'IOG Haskell Shell'
echo "Revision (input-output-hk/devx): ${if self ? rev then self.rev else "unknown/dirty checkout"}."
export CABAL_DIR=$HOME/.cabal
# change the CABAL_HOME so it doesn't confict with the default .cabal store outside of the shell
# which might have a different environment (and thus cflags, ldflags, ...) rendering them mutually
# incompatbile.
export CABAL_DIR=$HOME/.cabal-devx
echo "CABAL_DIR set to $CABAL_DIR"
''
# this one is only needed on macOS right now, due to a bug in loading libcrypto.