about summary refs log tree commit diff
path: root/pkgs/misc/misc.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/misc.nix')
-rw-r--r--pkgs/misc/misc.nix24
1 files changed, 13 insertions, 11 deletions
diff --git a/pkgs/misc/misc.nix b/pkgs/misc/misc.nix
index a0b13751f717..85959f66a7fe 100644
--- a/pkgs/misc/misc.nix
+++ b/pkgs/misc/misc.nix
@@ -6,18 +6,20 @@ in
 
 {
 
-  /* 
-
-    usage example creating a derivation installing ruby, sup and a lib:
-
-    packageOverrides = {
-      rubyCollection = collection {
-        name = "ruby";
-        list = let l = rubyLibs; in 
-          [ pkgs.ruby l.chronic l.sup ];
-      };
-    }
+  /*
+    Usage example creating a derivation installing ruby, sup and a lib:
+
+      packageOverrides = {
+	rubyCollection = collection {
+	  name = "ruby";
+	  list = let l = rubyLibs; in
+	    [ pkgs.ruby l.chronic l.sup ];
+	};
+      }
 
+    Warning: Using this function, it is possible to install packages
+    into one profile that have file collisions, and these will not be
+    detected.
   */
   collection = {list, name} : runCommand "collection-${name}" {} ''
     mkdir -p $out/nix-support