summaryrefslogtreecommitdiff
path: root/lib/deprecated
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2025-10-09 12:58:59 -0700
committerPhilip Taron <philip.taron@gmail.com>2025-10-13 08:55:22 -0700
commitdb45f2b770df9271fb8e2bfab2f867e8f0e4153c (patch)
tree01723eeebd8cb8524d5731b1a493d3646cd86bd9 /lib/deprecated
parentnixos/pgadmin: Use lib.mkEnableOption where possible (#449513) (diff)
downloadnixpkgs-db45f2b770df9271fb8e2bfab2f867e8f0e4153c.tar.gz
lib: remove mapAttrsFlatten after a year
It was deprecated in b9c51260d0620ffb0ef59d09b85d1f9d7b979b8c.
Diffstat (limited to 'lib/deprecated')
-rw-r--r--lib/deprecated/misc.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/deprecated/misc.nix b/lib/deprecated/misc.nix
index 0abf4e0d080c..7865f0ce760f 100644
--- a/lib/deprecated/misc.nix
+++ b/lib/deprecated/misc.nix
@@ -29,11 +29,8 @@ let
nameValuePair
tail
toList
- warn
;
- inherit (lib.attrsets) removeAttrs mapAttrsToList;
-
# returns default if env var is not set
maybeEnv =
name: default:
@@ -278,9 +275,6 @@ let
closePropagation = if builtins ? genericClosure then closePropagationFast else closePropagationSlow;
- # calls a function (f attr value ) for each record item. returns a list
- mapAttrsFlatten = warn "lib.misc.mapAttrsFlatten is deprecated, please use lib.attrsets.mapAttrsToList instead." mapAttrsToList;
-
# attribute set containing one attribute
nvs = name: value: listToAttrs [ (nameValuePair name value) ];
# adds / replaces an attribute of an attribute set
@@ -470,7 +464,6 @@ in
innerClosePropagation
innerModifySumArgs
lazyGenericClosure
- mapAttrsFlatten
maybeAttr
maybeAttrNullable
maybeEnv