summary refs log tree commit diff stats
path: root/pkgs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/default.nix')
-rw-r--r--pkgs/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
new file mode 100644
index 0000000..e665eb2
--- /dev/null
+++ b/pkgs/default.nix
@@ -0,0 +1,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