From ef2a9798cc4751ca069ee0e7f764812b8ed50da9 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 29 Jun 2020 00:59:17 +0200 Subject: pkgs/profpatsch: export toNetstring from the toplevel --- pkgs/profpatsch/execline/symlink.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'pkgs/profpatsch/execline/symlink.nix') 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 -- cgit 1.4.1