From d92cc88a3ccfb378d045b35032ee3c0a4f5f860f Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 28 Nov 2018 12:07:55 +0100 Subject: populate symlink: fail if target is a directory --- pkgs/populate/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3