diff options
author | Robert Hensing <robert@roberthensing.nl> | 2021-11-03 19:45:06 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2021-11-03 19:47:03 +0100 |
commit | 844a9e746f92ac7278ece51c2b7819d0e6c5c05d (patch) | |
tree | 38e4ff8402b3f6ab37b3e0bac25d7d20b276d009 /lib/tests/modules/declare-attrsOf.nix | |
parent | 541ce53a3bfa9c769ce4aa755d1c452cb3bdc2dd (diff) | |
download | nixpkgs-844a9e746f92ac7278ece51c2b7819d0e6c5c05d.tar nixpkgs-844a9e746f92ac7278ece51c2b7819d0e6c5c05d.tar.gz nixpkgs-844a9e746f92ac7278ece51c2b7819d0e6c5c05d.tar.bz2 nixpkgs-844a9e746f92ac7278ece51c2b7819d0e6c5c05d.tar.lz nixpkgs-844a9e746f92ac7278ece51c2b7819d0e6c5c05d.tar.xz nixpkgs-844a9e746f92ac7278ece51c2b7819d0e6c5c05d.tar.zst nixpkgs-844a9e746f92ac7278ece51c2b7819d0e6c5c05d.zip |
lib/modules: Use strict fold' as recursiveUpdate is also strict
recursiveUpdate does not produce an attrset until it has evaluated both its arguments to weak head normal form. nix-repl> lib.recursiveUpdate (throw "a") (throw "b") error: b nix-repl> lib.recursiveUpdate (throw "a") {} error: a
Diffstat (limited to 'lib/tests/modules/declare-attrsOf.nix')
0 files changed, 0 insertions, 0 deletions