| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
* Delete patched mandoc derivation and documentation.mandoc module from
the tree, both have an equivalent upstream now.
* Activate upstreamed documentation.man.mandoc module in my machines.
|
|
|
|
|
| |
I just wann go back // back to 2 point 3
https://www.youtube.com/watch?v=6-v1b9waHWY
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
buildEnv is conservative with creating symlinks, i. e. it only creates
directories if it has to. Consequently if a directory is only present in a
single package in the environment, it'll be a symlink.
Enter: makewhatis(8), a tool that has never imagined a creation as accursed as
Nix or even NixOS. Thus it assumes that probably no one ever uses symlinks in
their man directory and if they do, it'll be to alias man pages. Consequently
it assumes that all symbolic links are files [1] and ignores them in the
normal mode because they are in the wrong place. To still be able to use
apropos(1) with POSIX man pages, introduce this shell hack to re-create the
symlinked directories before building mandoc's db.
[1]: See also
https://inbox.vuxu.org/mandoc-tech/bccac2cd-01b6-b349-86e5-de4066ed8dee@systemli.org/T/#u
|
|
|
|
| |
git send-email go brrrrrrrrrrr
|
| |
|
|
|
|
|
|
|
|
|
| |
Shared by adisbladis in #nixos-chat this is a very stupid fish function
which bonks a nixpkgs package into the PATH in the current shell. This
is often useful if you need a package ad-hoc and opening a nix-shell is
too much hassle or you find yourself perpetually opening and closing a
nix-shell. Extremely racy with the garbage collector, but this is yolo
ops territory anyways.
|
| |
|
|
|
|
|
|
|
|
| |
Since we now distribute the programs.sqlite database with the vuizvui
channel, we can make use of it in programs.command-not-found. We change
the default path used to use the nixpkgs sub directory of the vuizvui
channel (by default it expects a channel named nixos containing the
database).
|
|
|
|
|
|
|
|
|
| |
Apparently (probably since GNU came along) there are manuals for
different languages than english in share/man/$language. This adds
support for this in my mandoc module by allowing the user to freely
specify the manpath entries under $out.
> nmap(1) - Netzwerk-Analysewerkzeug und Sicherheits-/Portscanner
|
|
|
|
|
|
|
|
|
|
| |
This module implements a drop-in replacement for documentation.man which
finally lets me get rid of pkgs.man-db. This is still to be considered
experimental as the required patch hasn't landed in upstream mandoc yet.
Should that happen, I'll try to contribute this module back to nixpkgs.
A more detailed description on the module and mandoc on NixOS can be
found at the top of modules/user/sternenseemann/documentation/mandoc.nix
|
|
|
|
|
|
|
|
| |
Even if GIT_PAGER is set to less alone, git diff will pass extra options
to less, so we have to explicictly set the LESS="..." environment
variable to change this behavior. Specifically we don't want -F which
prevents less from entering alternate mode which enables alternate
scrolling in foot.
|
|
|
|
| |
vuizvui currently ships no programs.sqlite
|
| |
|
|
|