mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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:
parent
4686bc54a6
commit
a429444a75
@ -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"; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user