summaryrefslogtreecommitdiff
path: root/modules/environment
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2024-07-27 13:35:35 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2024-07-27 13:37:28 +1000
commite88eb66c2b5e7066786f5d6343f3737567a71734 (patch)
treee6604fd2a08e8def1dd2e038c71f9b11416f4f31 /modules/environment
parent72bbc11aedcaba6f9a748786bb0aff9213d8fb36 (diff)
`mapAttrsFlatten` -> `mapAttrsToList`
deprecated in https://github.com/NixOS/nixpkgs/commit/473e469d5a921a57b484a09d446cee6c231cd592
Diffstat (limited to 'modules/environment')
-rw-r--r--modules/environment/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix
index bb99622..3b97a3e 100644
--- a/modules/environment/default.nix
+++ b/modules/environment/default.nix
@@ -9,7 +9,7 @@ let
mapAttrsToList (n: v: ''export ${n}="${v}"'') cfg.variables;
aliasCommands =
- mapAttrsFlatten (n: v: ''alias ${n}=${escapeShellArg v}'')
+ mapAttrsToList (n: v: ''alias ${n}=${escapeShellArg v}'')
(filterAttrs (k: v: v != null) cfg.shellAliases);
makeDrvBinPath = concatMapStringsSep ":" (p: if isDerivation p then "${p}/bin" else p);