aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-11-28 12:07:55 +0100
committertv <tv@krebsco.de>2018-11-28 12:08:14 +0100
commitd92cc88a3ccfb378d045b35032ee3c0a4f5f860f (patch)
tree5f9b75a8cd59e6ebcdb07f6b3a65fd729d494d16
parent4ce5dae7bceb635e96a9f8d5658a1bd2aada4f66 (diff)
populate symlink: fail if target is a directoryv1.7.3
-rw-r--r--pkgs/populate/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index b807c77..d24cbec 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -89,7 +89,7 @@ let
# TODO rm -fR instead of ln -f?
pop.symlink = target: source: shell' target /* sh */ ''
- ln -fns ${quote source.target} ${quote target.path}
+ ln -fnsT ${quote source.target} ${quote target.path}
'';
populate = target: name: source: let