diff options
author | tv <tv@krebsco.de> | 2018-11-28 12:07:55 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-11-28 12:08:14 +0100 |
commit | d92cc88a3ccfb378d045b35032ee3c0a4f5f860f (patch) | |
tree | 5f9b75a8cd59e6ebcdb07f6b3a65fd729d494d16 /pkgs/populate | |
parent | 4ce5dae7bceb635e96a9f8d5658a1bd2aada4f66 (diff) |
populate symlink: fail if target is a directory
Diffstat (limited to 'pkgs/populate')
-rw-r--r-- | pkgs/populate/default.nix | 2 |
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 |