diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-02-13 23:41:29 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2021-02-25 19:52:33 +0100 |
commit | 8cdd3cdfb3afb76b01c8dc013d95e6336e4dfb82 (patch) | |
tree | 409eff983b677a9a942d2101312b202545c11f6c /pkgs/profpatsch/nman/default.nix | |
parent | c485d777989771305a58ac9421ea57e4dfcbfdcc (diff) |
pkgs/profpatsch/nman: use pkgs.sternenseemann.temp for TempDir
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.
Diffstat (limited to 'pkgs/profpatsch/nman/default.nix')
-rw-r--r-- | pkgs/profpatsch/nman/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/profpatsch/nman/default.nix b/pkgs/profpatsch/nman/default.nix index 9d74d63b..db081e5a 100644 --- a/pkgs/profpatsch/nman/default.nix +++ b/pkgs/profpatsch/nman/default.nix @@ -1,8 +1,14 @@ -{ lib, writeRustSimpleBin }: +{ lib +, writeRustSimpleBin +, temp +}: writeRustSimpleBin "nman" { meta = { license = lib.licenses.gpl3Only; description = "Open man page in a temporary nix-shell"; }; + dependencies = [ + temp + ]; } ./nman.rs |