about summary refs log tree commit diff stats
path: root/pkgs/overlay.nix
blob: 14d20fbda260969fab6fffe75079e6b37c665341 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# You can use this file as a nixpkgs overlay. This is useful in the
# case where you don't want to add the whole NUR namespace to your
# configuration.
{sysLib}: self: super: let
  nameValuePair = n: v: {
    name = n;
    value = v;
  };
  packages = import ./default.nix {
    pkgs = super;
    inherit sysLib;
  };
in
  builtins.listToAttrs
  (map (n: nameValuePair n packages.${n})
    (builtins.attrNames packages))