Re: [Nix-dev] Re: another style proposal

2010-04-03 Thread Tony White
On 3 April 2010 10:37, Yury G. Kudryashov wrote: > Lluís Batlle wrote: > >> I prefer having an idea of the dependencies of a package in the >> all-packages.nix file. > It is just "an idea", not "knowledge". Even the arguments in default.nix is > an "idea" (kdegraphics didn't use its djvulibre argu

[Nix-dev] Obsolete packages

2010-04-03 Thread Yury G. Kudryashov
Hi! What are the policies for the old packages? I'd like to remove the following packages. * From KDE3: gwenview, digikam, konversation, filelight, superkaramba. * KDE 4.3. If somebody use them, let me know. ___ nix-dev mailing list nix-dev@cs.uu.nl h

[Nix-dev] Re: another style proposal

2010-04-03 Thread Yury G. Kudryashov
Lluís Batlle wrote: > I prefer having an idea of the dependencies of a package in the > all-packages.nix file. It is just "an idea", not "knowledge". Even the arguments in default.nix is an "idea" (kdegraphics didn't use its djvulibre argument a few days ago). If you need all packages that depen

Re: [Nix-dev] another style proposal

2010-04-03 Thread Lluís Batlle
I prefer having an idea of the dependencies of a package in the all-packages.nix file. 2010/4/3 Yury G. Kudryashov : > Hi! > > I propose to use the following style. > > In all-packages.nix: > > mypkg = makeOverridable (import ../path/to/mypkg) ( pkgs // { cg = > getPkgConfig "mypkg"; } ); > > In m

[Nix-dev] another style proposal

2010-04-03 Thread Yury G. Kudryashov
Hi! I propose to use the following style. In all-packages.nix: mypkg = makeOverridable (import ../path/to/mypkg) ( pkgs // { cg = getPkgConfig "mypkg"; } ); In mypkg/default.nix: a: let inherit (a) stdenv fetchurl other things cg; inherit (a.gtkLibs) gtk glib; in stdenv.mkDerivation {