From f92b8b3c229582f3f7095a68df554f9a535ca702 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 23 Dec 2024 18:38:26 +0100 Subject: feat(pkgs): Hook up to the flake and add needed infrastructure --- pkgs/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkgs/default.nix (limited to 'pkgs/default.nix') 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 -- cgit 1.4.1