diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-08-19 15:13:09 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-08-19 15:13:09 +0000 |
commit | 7b9d03d596e29b4dc92f5d3fccc86c7a3d0a9cc1 (patch) | |
tree | 32af666c1409fc2378e7f9a764b1fa1bc3968f04 /maintainers | |
parent | e8f1c8a08a30ecb54b5c28839c0b8df9d71e4b7e (diff) |
* strictAttrs: return the original attribute set.
svn path=/nixpkgs/trunk/; revision=23252
Diffstat (limited to 'maintainers')
-rw-r--r-- | maintainers/scripts/eval-release.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintainers/scripts/eval-release.nix b/maintainers/scripts/eval-release.nix index 62607fcc497f4..3d4458699c740 100644 --- a/maintainers/scripts/eval-release.nix +++ b/maintainers/scripts/eval-release.nix @@ -8,9 +8,9 @@ let rel = removeAttrs (import ../../pkgs/top-level/release.nix) [ "tarball" "xbursttools" ]; - strictList = xs: lib.fold (x: xs: lib.seq x xs) xs xs; + seqList = xs: res: lib.fold (x: xs: lib.seq x xs) res xs; - strictAttrs = as: strictList (lib.attrValues as); + strictAttrs = as: seqList (lib.attrValues as) as; maybe = as: let y = builtins.tryEval (strictAttrs as); in if y.success then y.value else builtins.trace "FAIL" null; |