summary refs log tree commit diff stats
path: root/pkgs/default.nix
blob: e665eb2e993fb5e6e78e9c45438e612f8ba1b7b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  pkgs,
  nixLib,
}: let
  inherit (pkgs) lib;

  warnMergeMessage = "the ./pkgs/by-name set";
  wMM = warnMergeMessage;
  callPackage =
    lib.callPackageWith
    (nixLib.warnMerge
      pkgs
      vhackPkgs
      wMM);

  vhackPkgs = nixLib.mkByName {
    baseDirectory = ./by-name;
    fileName = "package.nix";
    finalizeFunction = name: value: callPackage value {};
  };
in
  vhackPkgs