Closed ursi closed 3 years ago
This is probably out of scope. The compact layer doesn't control how bash is being invoked.
Oh, so this behaviour can't be emulated inside of nix 2.3? I was hoping it could :(
Right, this is more a nix develop
issue, so you may want to reopen this issue in the nix
repo.
@edolstra are you saying nix develop
is currently working improperly, and it should be sourcing the bashrc?
Could be, I can never remember when bashrc or bash_profile should be sourced...
Personally I feel like sourcing either of those in the shellHook
is not great. I just had my own code break from it due to me changing one of my aliases.
running this shell with
nix-shell
and flake-compat will show all the aliases defined in your bashrc, whereas running it innix develop
will not.