1
0
mirror of https://github.com/h7x4/nix-attr-search.git synced 2024-12-21 19:47:29 +01:00

flake.nix: add internal programs as runnables

These are useful when testing the programs on raw
input, compared to having to test the program
through a searcher.
This commit is contained in:
Oystein Kristoffer Tveit 2022-11-29 16:18:05 +01:00
parent 3d92480602
commit 74ed72ff0b
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -19,7 +19,16 @@
};
in builtins.mapAttrs toApp {
inherit (self.packages.${system})
home-manager-search nix-option-search nix-package-search nix2json;
home-manager-search nix-option-search nix-package-search;
} // {
nix2json = {
type = "app";
program = "${self.packages.${system}.nix2json}/bin/nix2json";
};
xmldoc2txt = {
type = "app";
program = "${self.packages.${system}.xmldoc2txt}/bin/xmldoc2txt";
};
};
hydraJobs = with pkgs.lib;