about summary refs log tree commit diff
path: root/pkgs/profpatsch/execline
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-06-29 00:59:17 +0200
committerProfpatsch <mail@profpatsch.de>2020-06-29 00:59:17 +0200
commitef2a9798cc4751ca069ee0e7f764812b8ed50da9 (patch)
tree196525c0df0c300c112beaef09dcef7f3eca5444 /pkgs/profpatsch/execline
parenteb73fb94264d486ff1be0ea756aad3708f21b065 (diff)
pkgs/profpatsch: export toNetstring from the toplevel
Diffstat (limited to 'pkgs/profpatsch/execline')
-rw-r--r--pkgs/profpatsch/execline/symlink.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/profpatsch/execline/symlink.nix b/pkgs/profpatsch/execline/symlink.nix
index c6a311d8..30c21ea4 100644
--- a/pkgs/profpatsch/execline/symlink.nix
+++ b/pkgs/profpatsch/execline/symlink.nix
@@ -1,4 +1,4 @@
-{ lib, s6-portable-utils, coreutils, runExecline }:
+{ lib, s6-portable-utils, coreutils, runExecline, toNetstring }:
 # DrvPath :: path relative to the derivation
 # AbsPath :: absolute path in the store
 #    Name
@@ -6,11 +6,6 @@
 # -> Drv
 name: links:
 
-let
-  toNetstring = s:
-    "${toString (builtins.stringLength s)}:${s},";
-
-in
 runExecline name {
   derivationArgs = {
     pathTuples = lib.concatMapStrings