summaryrefslogtreecommitdiffstats
path: root/nixos/modules/programs/bash
diff options
context:
space:
mode:
authorDaniel Schaefer <git@danielschaefer.me>2019-04-24 05:48:22 +0200
committerDaniel Schaefer <git@danielschaefer.me>2019-04-29 14:05:50 +0200
commit786f02f7a45621b9f628f63649ff92546aff83b7 (patch)
tree92784e131ccac4a1a63f7dbae6c228fb9d81468b /nixos/modules/programs/bash
parent5f14e83bd6b9ef1c83b035011267dd3d40278476 (diff)
treewide: Remove usage of isNull
isNull "is deprecated; just write e == null instead" says the Nix manual
Diffstat (limited to 'nixos/modules/programs/bash')
-rw-r--r--nixos/modules/programs/bash/bash.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/bash/bash.nix b/nixos/modules/programs/bash/bash.nix
index 27b5f9e4b642..a7e57b8608d7 100644
--- a/nixos/modules/programs/bash/bash.nix
+++ b/nixos/modules/programs/bash/bash.nix
@@ -34,7 +34,7 @@ let
bashAliases = concatStringsSep "\n" (
mapAttrsFlatten (k: v: "alias ${k}=${escapeShellArg v}")
- (filterAttrs (k: v: !isNull v) cfg.shellAliases)
+ (filterAttrs (k: v: v != null) cfg.shellAliases)
);
in