nix-helpers: 0bbe6d0255347d55223f35b166703a26fc460d09

     1: # Remove a layer of attrset nesting, prefixing the outer names to the inner ones
     2: { die, lib }:
     3: 
     4: with lib;
     5: attrs:
     6: listToAttrs (concatLists (mapAttrsToList (outer:
     7:   mapAttrsToList (inner: value: {
     8:     inherit value;
     9:     name = outer + inner;
    10:   })) attrs))

Generated by git2html.