[Nix-dev] Re: [Nix-commits] SVN commit: nix - 16224 - MarcWeber - in nixpkgs/trunk/pkgs: misc top-level
Ludovic Courtès
ludo at gnu.org
Wed Jul 8 00:08:27 CEST 2009
Hello,
Marc Weber <marco-oweber at gmx.de> writes:
> Author: MarcWeber
> Date: 2009-07-07 20:53:16 +0000 (Tue, 07 Jul 2009)
> New Revision: 16224
>
> You can view the changes in this commit at:
> https://svn.nixos.org/viewvc/nix?rev=16224&view=rev
>
> Added:
> nixpkgs/trunk/pkgs/misc/misc.nix
How about renaming it `misc/various/assorted/mixed.nix' to make the
intent even clearer? :-)
> adding cdtEnv symlinking deps into one $out/cdt-env/{lib,include} directory
> and collection which let's you install and update a set of derivations at once
[...]
> + /*
> +
> + 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 ];
> + };
> + }
> +
> + */
[...]
> + /* creates a derivation symlinking references C/C++ libs into one include and lib directory called $out/cdt-envs/${name}
> + then you can
> + ln -s ~/.nix-profile/cdt-envs/name ./nix-deps
> + and add .nix-deps/{libs,includes} to IDE's such as Eclipse/ Netbeans etc.
> + To update replace library versions just replace the symlink
> + */
I don't understand the description and examples. Can you clarify the
problem it solves?
Also, what does `cdtEnv' mean?
Thanks,
Ludo'.
More information about the nix-dev
mailing list