summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-08-16 12:27:19 +0200
committerGitHub <noreply@github.com>2020-08-16 12:27:19 +0200
commitb3909d1cb1d6d881372c0a4622dcaada21b8b1c8 (patch)
tree89153d6fbf44b1665633e271dad103b43e470619 /pkgs
parent609eb86db707c836564d42c88f531bb774db64a9 (diff)
parent3937923f81b08de1e7f8593ca62d05b8337daaaf (diff)
Merge pull request #95565 from vcunat/p/symlinkJoin
nixos/systemd.tmpfiles.packages: fix an edge case
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/trivial-builders.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix
index 3c81a4ece657..eab5366e1839 100644
--- a/pkgs/build-support/trivial-builders.nix
+++ b/pkgs/build-support/trivial-builders.nix
@@ -240,6 +240,8 @@ rec {
* This creates a single derivation that replicates the directory structure
* of all the input paths.
*
+ * BEWARE: it may not "work right" when the passed paths contain symlinks to directories.
+ *
* Examples:
* # adds symlinks of hello to current build.
* symlinkJoin { name = "myhello"; paths = [ pkgs.hello ]; }