haredoc: ship

This commit is contained in:
2024-08-22 09:00:14 +00:00
parent 212f6c0f48
commit 9b11b64349
3 changed files with 11 additions and 0 deletions

View File

@@ -181,6 +181,7 @@ in
pcConsoleUtils = declPackageSet [
# "gh" # MS GitHub cli
"haredoc"
"nix-index"
"nixpkgs-review"
"qmk-udev-rules"

View File

@@ -79,6 +79,7 @@
./gthumb.nix
./gvfs.nix
./handbrake.nix
./haredoc.nix
./helix.nix
./htop
./iio-sensor-proxy.nix

View File

@@ -0,0 +1,9 @@
# use like `haredoc bufio::read_line`
{ pkgs, ... }:
{
sane.programs.haredoc = {
sandbox.method = "bwrap";
sandbox.whitelistPwd = true; #< search for function documentation below the current directory
env.HAREPATH = "${pkgs.hare}/src/hare/stdlib";
};
}