From 66d3cf70a9b5216c9c5aa6ce3d5a7f41321548e0 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 20 Apr 2021 11:29:40 +0200 Subject: pkgs/profpatsch/write-rust: fix ln invocation The -T flag is GNU coreutils specific, for s6-ln and POSIX ln, the equivalent seems to be -L which mandates behavior like linkat(3) with the AT_SYMLINK_FOLLOW flag. cc @Profpatsch --- pkgs/profpatsch/write-rust.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/profpatsch/write-rust.nix') diff --git a/pkgs/profpatsch/write-rust.nix b/pkgs/profpatsch/write-rust.nix index bb114117..1c02c014 100644 --- a/pkgs/profpatsch/write-rust.nix +++ b/pkgs/profpatsch/write-rust.nix @@ -7,7 +7,7 @@ let linkTo = name: path: runExeclineLocal name {} [ "importas" "out" "out" - "if" [ bins.s6-ln "-sT" path "$out" ] + "if" [ bins.s6-ln "-sL" path "$out" ] ]; writeRustSimpleBin = name: { dependencies ? [], ... }@args: srcFile: pkgs.buildRustCrate ({ -- cgit 1.4.1