summaryrefslogtreecommitdiff
path: root/modules/programs/bash
diff options
context:
space:
mode:
authorMichael Hoang <Enzime@users.noreply.github.com>2023-07-26 20:45:13 +1000
committerGitHub <noreply@github.com>2023-07-26 20:45:13 +1000
commit94212ebe32948471a1aa11baa5c576ce60d54589 (patch)
tree9f8ddde9422d6a83c7e926b63d52a6a9dd099fb8 /modules/programs/bash
parent1c1dd8b0703feda8e7f1e7753088ae8307df5993 (diff)
parent6a00d1b59b2618c98977fb4200e71de28174d737 (diff)
Merge pull request #163 from kubek2k/patch-1
Diffstat (limited to 'modules/programs/bash')
-rw-r--r--modules/programs/bash/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/bash/default.nix b/modules/programs/bash/default.nix
index d5d8004..61f82e0 100644
--- a/modules/programs/bash/default.nix
+++ b/modules/programs/bash/default.nix
@@ -56,7 +56,7 @@ in
__ETC_BASHRC_SOURCED=1
# Don't execute this file when running in a pure nix-shell.
- if test -n "$IN_NIX_SHELL"; then return; fi
+ if [ "$IN_NIX_SHELL" = "pure" ]; then return; fi
if [ -z "$__NIX_DARWIN_SET_ENVIRONMENT_DONE" ]; then
. ${config.system.build.setEnvironment}