nixos/release: Replace a: b: a // b by mergeAttrs

No change in functionality, it just looks nicer that way.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-03-02 02:18:35 +01:00
parent 4686bc54a6
commit a429444a75
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -31,7 +31,7 @@ let
# If the test is only for a particular system, use only the specified
# system instead of generating attributes for all available systems.
in if args ? system then discover (import fn args)
else foldAttrs (a: b: a // b) {} (map discoverForSystem supportedSystems);
else foldAttrs mergeAttrs {} (map discoverForSystem supportedSystems);
pkgs = import nixpkgs { system = "x86_64-linux"; };