about summary refs log tree commit diff
path: root/pkgs/profpatsch/nman/default.nix
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/profpatsch/write-rust: alwyas run tests by defaultProfpatsch2021-04-231-3/+2
| | | | | | testRustSimple wouldn’t work with all the rust functions, so let’s just use it internally and expose the tests via the conventional `doCheck` attribute instead.
* pkgs/profpatsch/nman: unit test testable stuffsternenseemann2021-02-251-2/+3
| | | | | | | This is parsing and rendering of stuff currently mostly, since our main logic is relatively interwoven with IO stuff (to avoid copying stuff a lot). This is fine however as the application logic is tested using the nixos vm test we also have!
* pkgs/profpatsch/nman: add man page for nmansternenseemann2021-02-251-0/+3
| | | | Proof-reading would be very welcome!
* pkgs/profpatsch/nman: use pkgs.sternenseemann.temp for TempDirsternenseemann2021-02-251-1/+7
| | | | | temp is essentially the old TempDir code from nman, but using libc's mkdtemp(3) directly instead of mktemp(1) and a slightly better API.
* pkgs/profpatsch/nman: initial rewrite in ruststernenseemann2021-02-251-12/+6
| | | | | | | | | | | | | | | | | | | | | | This is a complete and user interface compatible rewrite of nman.go in Rust which aleviates a few flaws of the previous implementation: * Garbage collector roots for both the derivation and the build outputs are created in a temporary directory which is cleaned afterwards. This prevents a race condition between nman and nix-store --gc and doesn't pollute the user's working directory. * Instead of building just one build output, nman now checks every output for the requested man page which fixes nman for derivations which have their man pages split between multiple outputs, e. g. man and devman. Future work: * Improve error messages reported to the user * Man page * Implement man page search heuristics if no section is specified: Instead of falling back to section 1, all sections should be checked for the desired page (in an ascending order?)
* Revert "modules/user/sternenseemann/sway: fix startup by enabling opengl"sternenseemann2021-02-111-2/+13
| | | | | | This reverts commit 5bd756eaf27882820cb59e0ecf9c305f08b3b3e3. Committed more than I meant to.
* modules/user/sternenseemann/sway: fix startup by enabling openglsternenseemann2021-02-111-13/+2
| | | | | | sway needs opengl driver's to be enabled and loadable in order to start. I previously didn't notice this oversight as I still had them loaded and did not reboot after the rebuild.
* treewide: use `runCommandLocal` where applicableProfpatsch2019-12-081-2/+2
| | | | | | | `runCommandLocal` was added to nixpkgs in https://github.com/NixOS/nixpkgs/pull/74642 to speed up trivial `runCommand` derivations by always building them locally. We have a few places where that’s good to use.
* pkgs/profpatsch/nman: fix go buildProfpatsch2019-04-201-1/+3
|
* pkgs/profpatsch/nman: rewrite in golangProfpatsch2017-11-271-3/+3
| | | | | | | Apart from using the go compiler, switch from `nix-shell -p`, which only worked in certain cases, to a `nix-build` with fallback for `man` and default outputs. Thanks to @muesli for the golang intro.
* pkgs/profpatsch: add nmanProfpatsch2017-04-061-0/+12