about summary refs log tree commit diff
path: root/pkgs/profpatsch/default.nix
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-02-13 23:41:29 +0100
committersternenseemann <sternenseemann@systemli.org>2021-02-25 19:52:33 +0100
commit8cdd3cdfb3afb76b01c8dc013d95e6336e4dfb82 (patch)
tree409eff983b677a9a942d2101312b202545c11f6c /pkgs/profpatsch/default.nix
parentc485d777989771305a58ac9421ea57e4dfcbfdcc (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/default.nix')
-rw-r--r--pkgs/profpatsch/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/profpatsch/default.nix b/pkgs/profpatsch/default.nix
index 0fd31aeb..ff90a05f 100644
--- a/pkgs/profpatsch/default.nix
+++ b/pkgs/profpatsch/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, pkgs }:
+{ stdenv, lib, pkgs, sternenseemann }:
 
 let
   inherit (pkgs) callPackage;
@@ -129,6 +129,7 @@ in rec {
   nix-http-serve = callPackage ./nix-http-serve {};
   nman = callPackage ./nman {
     inherit writeRustSimpleBin;
+    inherit (sternenseemann) temp;
   };
   sfttime = callPackage ./sfttime {};
   show-qr-code = callPackage ./show-qr-code {};