diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-23 18:38:26 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-23 18:38:26 +0100 |
commit | f92b8b3c229582f3f7095a68df554f9a535ca702 (patch) | |
tree | 1cf5519f73abae8ad627b49856ca010c82d3068c /pkgs/default.nix | |
parent | feat(pkgs/back): Init (diff) | |
download | nixos-server-f92b8b3c229582f3f7095a68df554f9a535ca702.tar.gz nixos-server-f92b8b3c229582f3f7095a68df554f9a535ca702.zip |
feat(pkgs): Hook up to the flake and add needed infrastructure
Diffstat (limited to '')
-rw-r--r-- | pkgs/default.nix | 22 |
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 |