about summary refs log tree commit diff
path: root/pkgs/profpatsch/write-rust.nix
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-20 11:29:40 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-20 11:31:01 +0200
commit66d3cf70a9b5216c9c5aa6ce3d5a7f41321548e0 (patch)
treed98a455f38f1c3f44f8e4ba3f5b41c3ea9ba8c8c /pkgs/profpatsch/write-rust.nix
parent85a42f19e7880fdc0eda458235673c23d4b64b14 (diff)
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
Diffstat (limited to 'pkgs/profpatsch/write-rust.nix')
-rw-r--r--pkgs/profpatsch/write-rust.nix2
1 files changed, 1 insertions, 1 deletions
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 ({