Bruno BELANYI
331b7cf8e3
Inspired by this [1] repo, I want to add some functions to `lib.my`. I would have liked to make it work without having to use an overlay, but I did not manage to do it... [1]: https://github.com/hlissner/dotfiles
8 lines
137 B
Nix
8 lines
137 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) filterAttrs mapAttrs';
|
|
in
|
|
{
|
|
mapFilterAttrs = pred: f: attrs: filterAttrs pred (mapAttrs' f attrs);
|
|
}
|