summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-08-16 13:03:46 +0000
committerPeter Simons <simons@cryp.to>2011-08-16 13:03:46 +0000
commit1e7f572683fd34b55fade0eff632a70a720f0477 (patch)
tree306c5705d1cda35503a1a8250dd605e8e25cc267 /pkgs/misc
parentc6f12a23e67c532c6d67835ded459b43d3b5a397 (diff)
pkgs/misc/misc.nix: document the fact that 'collection' does not detect file collisions
svn path=/nixpkgs/trunk/; revision=28610
Diffstat (limited to 'pkgs/misc')
-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 a0b13751f717c..85959f66a7fe4 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