haredoc: ship
This commit is contained in:
@@ -181,6 +181,7 @@ in
|
|||||||
|
|
||||||
pcConsoleUtils = declPackageSet [
|
pcConsoleUtils = declPackageSet [
|
||||||
# "gh" # MS GitHub cli
|
# "gh" # MS GitHub cli
|
||||||
|
"haredoc"
|
||||||
"nix-index"
|
"nix-index"
|
||||||
"nixpkgs-review"
|
"nixpkgs-review"
|
||||||
"qmk-udev-rules"
|
"qmk-udev-rules"
|
||||||
|
@@ -79,6 +79,7 @@
|
|||||||
./gthumb.nix
|
./gthumb.nix
|
||||||
./gvfs.nix
|
./gvfs.nix
|
||||||
./handbrake.nix
|
./handbrake.nix
|
||||||
|
./haredoc.nix
|
||||||
./helix.nix
|
./helix.nix
|
||||||
./htop
|
./htop
|
||||||
./iio-sensor-proxy.nix
|
./iio-sensor-proxy.nix
|
||||||
|
9
hosts/common/programs/haredoc.nix
Normal file
9
hosts/common/programs/haredoc.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user