This commit is contained in:
zimbatm 2020-05-02 22:51:26 +02:00
parent 364b5310d6
commit 18a33a4d44
No known key found for this signature in database
GPG Key ID: 71BAF6D40C1D63D7
1 changed files with 4 additions and 4 deletions

View File

@ -28,13 +28,13 @@ let
op = attrs: key: op = attrs: key:
attrs // attrs //
{ {
${key} = (attrs.${key} or {}) // { ${system} = ret.${key}; }; ${key} = (attrs.${key} or { }) // { ${system} = ret.${key}; };
} }
; ;
in in
builtins.foldl' op attrs (builtins.attrNames ret); builtins.foldl' op attrs (builtins.attrNames ret);
in in
builtins.foldl' op {} systems builtins.foldl' op { } systems
; ;
# Returns the structure used by `nix app` # Returns the structure used by `nix app`