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:
parent
3d92480602
commit
74ed72ff0b
11
flake.nix
11
flake.nix
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user