diff options
author | Peter Simons <simons@cryp.to> | 2011-08-16 13:03:46 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-08-16 13:03:46 +0000 |
commit | 1e7f572683fd34b55fade0eff632a70a720f0477 (patch) | |
tree | 306c5705d1cda35503a1a8250dd605e8e25cc267 /pkgs/misc/misc.nix | |
parent | c6f12a23e67c532c6d67835ded459b43d3b5a397 (diff) | |
download | nixlib-1e7f572683fd34b55fade0eff632a70a720f0477.tar nixlib-1e7f572683fd34b55fade0eff632a70a720f0477.tar.gz nixlib-1e7f572683fd34b55fade0eff632a70a720f0477.tar.bz2 nixlib-1e7f572683fd34b55fade0eff632a70a720f0477.tar.lz nixlib-1e7f572683fd34b55fade0eff632a70a720f0477.tar.xz nixlib-1e7f572683fd34b55fade0eff632a70a720f0477.tar.zst nixlib-1e7f572683fd34b55fade0eff632a70a720f0477.zip |
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/misc.nix')
-rw-r--r-- | pkgs/misc/misc.nix | 24 |
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 |