Merge branch 'stdenv-updates' into pi-stdenv-updates

Conflicts:
	pkgs/development/compilers/gcc/4.6/default.nix
	pkgs/development/compilers/gcc/4.7/default.nix

The 4.7 had some weird parameters added in crossAttrs; I've removed
them, but I don't understand where they come from.
This commit is contained in:
Lluís Batlle i Rossell 2012-12-28 20:14:01 +00:00
commit 719ba63004
417 changed files with 838 additions and 853 deletions

View file

@ -41,7 +41,7 @@ stdenv.mkDerivation {
# Then build the plugins. # Then build the plugins.
( (
buildNativeInputs="$out $buildNativeInputs" # to find audacious nativeBuildInputs="$out $nativeBuildInputs" # to find audacious
source $stdenv/setup source $stdenv/setup
rm -rfv audacious-* rm -rfv audacious-*
src=$pluginsSrc src=$pluginsSrc

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
patches = [ ./id3v2-0.1.11-track-bad-free.patch ]; patches = [ ./id3v2-0.1.11-track-bad-free.patch ];
buildNativeInputs = [ groff ]; nativeBuildInputs = [ groff ];
buildInputs = [ id3lib ]; buildInputs = [ id3lib ];
configurePhase = '' configurePhase = ''

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ alsaLib boost fftwSinglePrec fltk jackaudio libsndfile mesa buildInputs = [ alsaLib boost fftwSinglePrec fltk jackaudio libsndfile mesa
minixml zlib ]; minixml zlib ];
buildNativeInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
preConfigure = "cd src"; preConfigure = "cd src";

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ alsaLib fftw fltk13 minixml zlib ]; buildInputs = [ alsaLib fftw fltk13 minixml zlib ];
buildNativeInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
patches = [ patches = [
(fetchurl { (fetchurl {

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ emacs ]; buildInputs = [ emacs ];
buildNativeInputs = [ texinfo texLive ]; nativeBuildInputs = [ texinfo texLive ];
configurePhase = configurePhase =
'' sed -i mk/default.mk \ '' sed -i mk/default.mk \

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ kdevplatform kdebase_workspace okteta ]; buildInputs = [ kdevplatform kdebase_workspace okteta ];
buildNativeInputs = [ cmake pkgconfig automoc4 shared_mime_info gettext perl ]; nativeBuildInputs = [ cmake pkgconfig automoc4 shared_mime_info gettext perl ];
patches = patches =
[ ( fetchurl { [ ( fetchurl {

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0nx5fmjrxrndnzvknxnybd8qh15jzfxzbny2rljq3amjw02y9lc2"; sha256 = "0nx5fmjrxrndnzvknxnybd8qh15jzfxzbny2rljq3amjw02y9lc2";
}; };
buildNativeInputs = [ cmake gettext ]; nativeBuildInputs = [ cmake gettext ];
buildInputs = [ kdelibs ]; buildInputs = [ kdelibs ];
# for KDE 4.7 the nl translations fail since kile-2.1.2 # for KDE 4.7 the nl translations fail since kile-2.1.2

View file

@ -13,7 +13,7 @@ composableDerivation {} {
configureFlags = ["--enable-gui=auto" "--with-features=${args.features}"]; configureFlags = ["--enable-gui=auto" "--with-features=${args.features}"];
buildNativeInputs = [ncurses pkgconfig] nativeBuildInputs = [ncurses pkgconfig]
++ [ gtk libX11 libXext libSM libXpm libXt libXaw libXau libXmu glib ++ [ gtk libX11 libXext libSM libXpm libXt libXaw libXau libXmu glib
libICE ]; libICE ];
@ -27,11 +27,11 @@ composableDerivation {} {
// edf { name = "xsmp"; } #Disable XSMP session management // edf { name = "xsmp"; } #Disable XSMP session management
// edf { name = "xsmp_interact"; } #Disable XSMP interaction // edf { name = "xsmp_interact"; } #Disable XSMP interaction
// edf { name = "mzscheme"; } #Include MzScheme interpreter. // edf { name = "mzscheme"; } #Include MzScheme interpreter.
// edf { name = "perl"; feat = "perlinterp"; enable = { buildNativeInputs = [perl]; };} #Include Perl interpreter. // edf { name = "perl"; feat = "perlinterp"; enable = { nativeBuildInputs = [perl]; };} #Include Perl interpreter.
// edf { name = "python"; feat = "pythoninterp"; enable = { buildNativeInputs = [python]; }; } #Include Python interpreter. // edf { name = "python"; feat = "pythoninterp"; enable = { nativeBuildInputs = [python]; }; } #Include Python interpreter.
// edf { name = "tcl"; enable = { buildNativeInputs = [tcl]; }; } #Include Tcl interpreter. // edf { name = "tcl"; enable = { nativeBuildInputs = [tcl]; }; } #Include Tcl interpreter.
// edf { name = "ruby"; feat = "rubyinterp"; enable = { buildNativeInputs = [ruby]; };} #Include Ruby interpreter. // edf { name = "ruby"; feat = "rubyinterp"; enable = { nativeBuildInputs = [ruby]; };} #Include Ruby interpreter.
// edf { name = "lua" ; feat = "luainterp"; enable = { buildNativeInputs = [lua]; configureFlags = ["--with-lua-prefix=${args.lua}"];};} // edf { name = "lua" ; feat = "luainterp"; enable = { nativeBuildInputs = [lua]; configureFlags = ["--with-lua-prefix=${args.lua}"];};}
// edf { name = "cscope"; } #Include cscope interface. // edf { name = "cscope"; } #Include cscope interface.
// edf { name = "workshop"; } #Include Sun Visual Workshop support. // edf { name = "workshop"; } #Include Sun Visual Workshop support.
// edf { name = "netbeans"; } #Disable NetBeans integration support. // edf { name = "netbeans"; } #Disable NetBeans integration support.
@ -42,7 +42,7 @@ composableDerivation {} {
// edf { name = "fontset"; } #Include X fontset output support. // edf { name = "fontset"; } #Include X fontset output support.
// edf { name = "acl"; } #Don't check for ACL support. // edf { name = "acl"; } #Don't check for ACL support.
// edf { name = "gpm"; } #Don't use gpm (Linux mouse daemon). // edf { name = "gpm"; } #Don't use gpm (Linux mouse daemon).
// edf { name = "nls"; enable = {buildNativeInputs = [gettext];}; } #Don't support NLS (gettext()). // edf { name = "nls"; enable = {nativeBuildInputs = [gettext];}; } #Don't support NLS (gettext()).
; ;
cfg = { cfg = {
@ -70,11 +70,11 @@ composableDerivation {} {
postInstall = " postInstall = "
rpath=`patchelf --print-rpath \$out/bin/vim`; rpath=`patchelf --print-rpath \$out/bin/vim`;
for i in $\buildNativeInputs; do for i in $\nativeBuildInputs; do
echo adding \$i/lib echo adding \$i/lib
rpath=\$rpath:\$i/lib rpath=\$rpath:\$i/lib
done done
echo \$buildNativeInputs echo \$nativeBuildInputs
echo \$rpath echo \$rpath
patchelf --set-rpath \$rpath \$out/bin/{vim,gvim} patchelf --set-rpath \$rpath \$out/bin/{vim,gvim}
"; ";

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ ncurses pkgconfig ]; buildInputs = [ ncurses pkgconfig ];
buildNativeInputs = [ gettext ]; nativeBuildInputs = [ gettext ];
configureFlags = [ configureFlags = [
"--enable-multibyte" "--enable-multibyte"

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ ncurses boehmgc ]; buildInputs = [ ncurses boehmgc ];
buildNativeInputs = [ help2man perl ]; nativeBuildInputs = [ help2man perl ];
# Tests can't be run because most of them rely on the ability to # Tests can't be run because most of them rely on the ability to
# fiddle with the terminal. # fiddle with the terminal.

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
patches = [ ./install.patch ]; patches = [ ./install.patch ];
buildNativeInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
NIX_LDFLAGS = "-llcms -ljpeg"; NIX_LDFLAGS = "-llcms -ljpeg";

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
libxslt docbook_xsl libart_lgpl libxslt docbook_xsl libart_lgpl
] ++ stdenv.lib.optional withGNOME libgnomeui; ] ++ stdenv.lib.optional withGNOME libgnomeui;
buildNativeInputs = [ pkgconfig intltool perl ]; nativeBuildInputs = [ pkgconfig intltool perl ];
configureFlags = stdenv.lib.optionalString withGNOME "--enable-gnome"; configureFlags = stdenv.lib.optionalString withGNOME "--enable-gnome";

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1prnaywnbv0xpw6knqagzc4gn1vsj9kw2hvdasjwknc9ljiyl721"; sha256 = "1prnaywnbv0xpw6knqagzc4gn1vsj9kw2hvdasjwknc9ljiyl721";
}; };
buildNativeInputs = [ cmake automoc4 pkgconfig ]; nativeBuildInputs = [ cmake automoc4 pkgconfig ];
buildInputs = [ qt4 kdelibs phonon qimageblitz qca2 eigen lcms libjpeg libtiff buildInputs = [ qt4 kdelibs phonon qimageblitz qca2 eigen lcms libjpeg libtiff
jasper libgphoto2 kdepimlibs gettext soprano liblqr1 lensfun qjson libkdcraw jasper libgphoto2 kdepimlibs gettext soprano liblqr1 lensfun qjson libkdcraw

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
buildInputs = [djvulibre qt4]; buildInputs = [djvulibre qt4];
buildNativeInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
patches = [ ./djview4-qt-4.8.patch ]; patches = [ ./djview4-qt-4.8.patch ];

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "1riia87v5nsx858xnlvc7sspr1p36adjqrdch1255ikr5xbv6h6x"; sha256 = "1riia87v5nsx858xnlvc7sspr1p36adjqrdch1255ikr5xbv6h6x";
}; };
buildNativeInputs = [ pkgconfig which ]; nativeBuildInputs = [ pkgconfig which ];
buildInputs = buildInputs =
[ libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp [ libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
imagemagick curl saneBackends imagemagick curl saneBackends

View file

@ -36,7 +36,7 @@ let
libLQR = pluginDerivation { libLQR = pluginDerivation {
name = "liblqr-1-0.4.1"; name = "liblqr-1-0.4.1";
# required by lqrPlugin, you don't havet to install this lib explicitely # required by lqrPlugin, you don't havet to install this lib explicitely
buildInputs = [ gimp ] ++ gimp.buildNativeInputs; buildInputs = [ gimp ] ++ gimp.nativeBuildInputs;
src = fetchurl { src = fetchurl {
url = http://registry.gimp.org/files/liblqr-1-0.4.1.tar.bz2; url = http://registry.gimp.org/files/liblqr-1-0.4.1.tar.bz2;
sha256 = "02g90wag7xi5rjlmwq8h0qs666b1i2sa90s4303hmym40il33nlz"; sha256 = "02g90wag7xi5rjlmwq8h0qs666b1i2sa90s4303hmym40il33nlz";
@ -50,7 +50,7 @@ rec {
Video Video
*/ */
name = "gap-2.6.0"; name = "gap-2.6.0";
buildInputs = [ gimp pkgconfig glib pkgs.intltool gimp.gtk ] ++ gimp.buildNativeInputs; buildInputs = [ gimp pkgconfig glib pkgs.intltool gimp.gtk ] ++ gimp.nativeBuildInputs;
src = fetchurl { src = fetchurl {
url = ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/gimp-gap-2.6.0.tar.bz2; url = ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/gimp-gap-2.6.0.tar.bz2;
sha256 = "1jic7ixcmsn4kx2cn32nc5087rk6g8xsrz022xy11yfmgvhzb0ql"; sha256 = "1jic7ixcmsn4kx2cn32nc5087rk6g8xsrz022xy11yfmgvhzb0ql";
@ -74,7 +74,7 @@ rec {
Filters/Generic/FFT Inverse Filters/Generic/FFT Inverse
*/ */
name = "fourier-0.3.3"; name = "fourier-0.3.3";
buildInputs = [ gimp pkgs.fftwSinglePrec pkgconfig glib] ++ gimp.buildNativeInputs; buildInputs = [ gimp pkgs.fftwSinglePrec pkgconfig glib] ++ gimp.nativeBuildInputs;
postInstall = "fail"; postInstall = "fail";
installPhase = "installPlugins fourier"; installPhase = "installPlugins fourier";
src = fetchurl { src = fetchurl {
@ -91,7 +91,7 @@ rec {
Filters/Enhance/Smart remove selection Filters/Enhance/Smart remove selection
*/ */
name = "resynthesizer-0.16"; name = "resynthesizer-0.16";
buildInputs = [ gimp pkgs.fftw ] ++ gimp.buildNativeInputs; buildInputs = [ gimp pkgs.fftw ] ++ gimp.nativeBuildInputs;
src = fetchurl { src = fetchurl {
url = http://www.logarithmic.net/pfh-files/resynthesizer/resynthesizer-0.16.tar.gz; url = http://www.logarithmic.net/pfh-files/resynthesizer/resynthesizer-0.16.tar.gz;
sha256 = "1k90a1jzswxmajn56rdxa4r60v9v34fmqsiwfdxqcvx3yf4yq96x"; sha256 = "1k90a1jzswxmajn56rdxa4r60v9v34fmqsiwfdxqcvx3yf4yq96x";
@ -105,7 +105,7 @@ rec {
texturize = pluginDerivation { texturize = pluginDerivation {
name = "texturize-2.1"; name = "texturize-2.1";
buildInputs = [ gimp ] ++ gimp.buildNativeInputs; buildInputs = [ gimp ] ++ gimp.nativeBuildInputs;
src = fetchurl { src = fetchurl {
url = http://prdownloads.sourceforge.net/gimp-texturize/texturize-2.1_src.tgz; url = http://prdownloads.sourceforge.net/gimp-texturize/texturize-2.1_src.tgz;
sha256 = "0cdjq25g3yfxx6bzx6nid21kq659s1vl9id4wxyjs2dhcv229cg3"; sha256 = "0cdjq25g3yfxx6bzx6nid21kq659s1vl9id4wxyjs2dhcv229cg3";
@ -118,7 +118,7 @@ rec {
Filters/Enhance/Wavelet sharpen Filters/Enhance/Wavelet sharpen
*/ */
name = "wavelet-sharpen-0.1.2"; name = "wavelet-sharpen-0.1.2";
buildInputs = [ gimp ] ++ gimp.buildNativeInputs; buildInputs = [ gimp ] ++ gimp.nativeBuildInputs;
src = fetchurl { src = fetchurl {
url = http://registry.gimp.org/files/wavelet-sharpen-0.1.2.tar.gz; url = http://registry.gimp.org/files/wavelet-sharpen-0.1.2.tar.gz;
sha256 = "0vql1k67i21g5ivaa1jh56rg427m0icrkpryrhg75nscpirfxxqw"; sha256 = "0vql1k67i21g5ivaa1jh56rg427m0icrkpryrhg75nscpirfxxqw";
@ -131,7 +131,7 @@ rec {
Layer/Liquid Rescale Layer/Liquid Rescale
*/ */
name = "lqr-plugin-0.6.1"; name = "lqr-plugin-0.6.1";
buildInputs = [ pkgconfig libLQR gimp ] ++ gimp.buildNativeInputs; buildInputs = [ pkgconfig libLQR gimp ] ++ gimp.nativeBuildInputs;
src = fetchurl { src = fetchurl {
url = http://registry.gimp.org/files/gimp-lqr-plugin-0.6.1.tar.bz2; url = http://registry.gimp.org/files/gimp-lqr-plugin-0.6.1.tar.bz2;
sha256 = "00hklkpcimcbpjly4rjhfipaw096cpy768g9wixglwrsyqhil7l9"; sha256 = "00hklkpcimcbpjly4rjhfipaw096cpy768g9wixglwrsyqhil7l9";
@ -146,7 +146,7 @@ rec {
let imagemagick = pkgs.imagemagickBig; # maybe the non big version is enough? let imagemagick = pkgs.imagemagickBig; # maybe the non big version is enough?
in pluginDerivation { in pluginDerivation {
name = "gmic-1.3.2.0"; name = "gmic-1.3.2.0";
buildInputs = [ imagemagick pkgconfig gimp pkgs.fftwSinglePrec ] ++ gimp.buildNativeInputs; buildInputs = [ imagemagick pkgconfig gimp pkgs.fftwSinglePrec ] ++ gimp.nativeBuildInputs;
src = fetchurl { src = fetchurl {
url = http://dfn.dl.sourceforge.net/sourceforge/gmic/gmic_1.3.2.0.tar.gz; url = http://dfn.dl.sourceforge.net/sourceforge/gmic/gmic_1.3.2.0.tar.gz;
sha256 = "0mxq664vzzc2l6k6sqm9syp34mihhi262i6fixk1g12lmc28797h"; sha256 = "0mxq664vzzc2l6k6sqm9syp34mihhi262i6fixk1g12lmc28797h";
@ -172,7 +172,7 @@ rec {
# or use the binary # or use the binary
ufraw = pluginDerivation { ufraw = pluginDerivation {
name = "ufraw-0.15"; name = "ufraw-0.15";
buildInputs = [pkgs.lcms gimp] ++ gimp.buildNativeInputs; buildInputs = [pkgs.lcms gimp] ++ gimp.nativeBuildInputs;
# --enable-mime - install mime files, see README for more information # --enable-mime - install mime files, see README for more information
# --enable-extras - build extra (dcraw, nikon-curve) executables # --enable-extras - build extra (dcraw, nikon-curve) executables
# --enable-dst-correction - enable DST correction for file timestamps. # --enable-dst-correction - enable DST correction for file timestamps.

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation {
zlib libtool zlib libtool
]; ];
buildNativeInputs = [ xz ]; nativeBuildInputs = [ xz ];
postInstall = '' postInstall = ''
sed -i 's/-ltiff.*'\'/\'/ $out/bin/* sed -i 's/-ltiff.*'\'/\'/ $out/bin/*

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [ panotools wxGTK libtiff libpng openexr boost tclap buildInputs = [ panotools wxGTK libtiff libpng openexr boost tclap
exiv2 gettext ilmbase mesa freeglut glew libXmu libXi ]; exiv2 gettext ilmbase mesa freeglut glew libXmu libXi ];
buildNativeInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
propagatedUserEnvPackages = [ enblendenfuse autopanosiftc ]; propagatedUserEnvPackages = [ enblendenfuse autopanosiftc ];

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
libksane libxslt gettext opencv libgpod gdk_pixbuf qjson libksane libxslt gettext opencv libgpod gdk_pixbuf qjson
]; ];
buildNativeInputs = [ pkgconfig cmake automoc4 ]; nativeBuildInputs = [ pkgconfig cmake automoc4 ];
meta = { meta = {
description = "Photo Management Program"; description = "Photo Management Program";

View file

@ -10,5 +10,5 @@ stdenv.mkDerivation rec {
buildInputs = [ kdelibs imlib ]; buildInputs = [ kdelibs imlib ];
buildNativeInputs = [ cmake gettext pkgconfig ]; nativeBuildInputs = [ cmake gettext pkgconfig ];
} }

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
''; '';
buildInputs = [saneBackends libX11 gtk pkgconfig] ++ buildInputs = [saneBackends libX11 gtk pkgconfig] ++
(if (libusb != null) then [libusb] else []); (if libusb != null then [libusb] else []);
meta = { meta = {
homepage = "http://www.sane-project.org/"; homepage = "http://www.sane-project.org/";

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
''; '';
buildInputs = [libpng saneBackends saneFrontends libX11 gtk pkgconfig ] ++ buildInputs = [libpng saneBackends saneFrontends libX11 gtk pkgconfig ] ++
(if (libusb != null) then [libusb] else []); (if libusb != null then [libusb] else []);
meta = { meta = {
homepage = http://www.sane-project.org/; homepage = http://www.sane-project.org/;

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation {
sha256 = "05xbzq1i1vw2mdsv7zjqfpxfv3g1j0g5kks0gq6sh373xd6y8lyh"; sha256 = "05xbzq1i1vw2mdsv7zjqfpxfv3g1j0g5kks0gq6sh373xd6y8lyh";
}; };
buildNativeInputs = [ automake pkgconfig gettext perl zip ]; nativeBuildInputs = [ automake pkgconfig gettext perl zip ];
buildInputs = [ wxGTK gtk libxml2 freetype pango ]; buildInputs = [ wxGTK gtk libxml2 freetype pango ];
configureFlags = "--disable-svnversion"; configureFlags = "--disable-svnversion";

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation {
buildInputs = [x11 libXpm libXmu libXi libXp Xaw3d libpng libjpeg]; buildInputs = [x11 libXpm libXmu libXi libXp Xaw3d libpng libjpeg];
buildNativeInputs = [ imake makeWrapper ]; nativeBuildInputs = [ imake makeWrapper ];
NIX_CFLAGS_COMPILE = "-I${libXpm}/include/X11"; NIX_CFLAGS_COMPILE = "-I${libXpm}/include/X11";

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
pango libX11 xproto zlib poppler poppler_data pango libX11 xproto zlib poppler poppler_data
]; ];
buildNativeInputs = [ autoconf automake libtool pkgconfig ]; nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
# Build with poppler-0.18.x # Build with poppler-0.18.x
patchFlags = "-p0"; patchFlags = "-p0";

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
inherit python; inherit python;
buildNativeInputs = [ makeWrapper pkgconfig ]; nativeBuildInputs = [ makeWrapper pkgconfig ];
buildInputs = buildInputs =
[ python pyqt4 sip popplerQt4 libpng imagemagick libjpeg [ python pyqt4 sip popplerQt4 libpng imagemagick libjpeg

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation {
sha256 = "0bcpmnlk03382x577qbnbw3i6y08hr3qmg85pqj35scnl6van74c"; sha256 = "0bcpmnlk03382x577qbnbw3i6y08hr3qmg85pqj35scnl6van74c";
}; };
buildNativeInputs = [ nativeBuildInputs = [
glibc glibc
glib glib
stdenv.gcc.gcc stdenv.gcc.gcc
@ -55,7 +55,7 @@ stdenv.mkDerivation {
chmod +x $out/bin/googleearth chmod +x $out/bin/googleearth
fullPath= fullPath=
for i in $buildNativeInputs; do for i in $nativeBuildInputs; do
fullPath=$fullPath:$i/lib fullPath=$fullPath:$i/lib
done done

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "08x1p8xhl65r79a6gn1fi63z1lspd5j55l05diiyzcwfxvqwsm47"; sha256 = "08x1p8xhl65r79a6gn1fi63z1lspd5j55l05diiyzcwfxvqwsm47";
}; };
buildNativeInputs = [ pkgconfig gettext ]; nativeBuildInputs = [ pkgconfig gettext ];
buildInputs = [ libgphoto2 libexif popt libjpeg readline libtool ]; buildInputs = [ libgphoto2 libexif popt libjpeg readline libtool ];
meta = { meta = {

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ kdelibs ]; buildInputs = [ kdelibs ];
buildNativeInputs = [ gettext ]; nativeBuildInputs = [ gettext ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "KDE Wacom graphic tablet configuration tool"; description = "KDE Wacom graphic tablet configuration tool";

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ neon libusb openssl udev avahi freeipmi ]; buildInputs = [ neon libusb openssl udev avahi freeipmi ];
buildNativeInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
configureFlags = [ configureFlags = [
"--with-all" "--with-all"

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gdal qt4 flex bison proj geos x11 sqlite gsl pyqt4 qwt buildInputs = [ gdal qt4 flex bison proj geos x11 sqlite gsl pyqt4 qwt
fcgi ]; fcgi ];
buildNativeInputs = [ cmake python]; nativeBuildInputs = [ cmake python];
patches = [ ./r14988.diff ]; patches = [ ./r14988.diff ];

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1yrf73r8mixskh8b531wb8dfs9z7rrw010xsrflhjhjmqh94h8mw"; sha256 = "1yrf73r8mixskh8b531wb8dfs9z7rrw010xsrflhjhjmqh94h8mw";
}; };
buildNativeInputs = [ gettext ]; nativeBuildInputs = [ gettext ];
buildInputs = [ kdelibs kdebase_workspace ]; buildInputs = [ kdelibs kdebase_workspace ];

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "0diy72sgiyvfl6bdy7k3qwv3ijx2z1y477smkk6jsbbd9fsp2lfg"; sha256 = "0diy72sgiyvfl6bdy7k3qwv3ijx2z1y477smkk6jsbbd9fsp2lfg";
}; };
buildNativeInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
meta = { meta = {
description = "GTD (getting things done) implementation"; description = "GTD (getting things done) implementation";

View file

@ -69,7 +69,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ pkgconfig fuse devicemapper wxGTK nasm ]; buildInputs = [ pkgconfig fuse devicemapper wxGTK nasm ];
makeFlags = if (wxGUI) then "" else "NOGUI=1"; makeFlags = if wxGUI then "" else "NOGUI=1";
meta = { meta = {
description = "Free Open-Source filesystem on-the-fly encryption"; description = "Free Open-Source filesystem on-the-fly encryption";

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation {
buildInputs = [ kdelibs ]; buildInputs = [ kdelibs ];
buildNativeInputs = [ gettext ]; nativeBuildInputs = [ gettext ];
meta = { meta = {
homepage = http://yakuake.kde.org; homepage = http://yakuake.kde.org;

View file

@ -21,12 +21,12 @@ stdenv.mkDerivation rec {
''; '';
crossAttrs = { crossAttrs = {
propagatedBuildInputs = [ ncurses.hostDrv zlib.hostDrv openssl.hostDrv ]; propagatedBuildInputs = [ ncurses.crossDrv zlib.crossDrv openssl.crossDrv ];
configureFlags = '' configureFlags = ''
--enable-finger --enable-html-highlight --enable-finger --enable-html-highlight
--enable-gopher --enable-cgi --enable-bittorrent --enable-nntp --enable-gopher --enable-cgi --enable-bittorrent --enable-nntp
--with-openssl=${openssl.hostDrv} --with-openssl=${openssl.crossDrv}
--with-bzip2=${bzip2.hostDrv} --with-bzip2=${bzip2.crossDrv}
''; '';
}; };

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optionals enableX11 [ libX11 libXau libXt ] ++ stdenv.lib.optionals enableX11 [ libX11 libXau libXt ]
++ stdenv.lib.optional enableDirectFB [ directfb ]; ++ stdenv.lib.optional enableDirectFB [ directfb ];
buildNativeInputs = [ pkgconfig bzip2 ]; nativeBuildInputs = [ pkgconfig bzip2 ];
configureFlags = [ "--with-ssl" ] configureFlags = [ "--with-ssl" ]
++ stdenv.lib.optional (enableX11 || enableFB || enableDirectFB) "--enable-graphics" ++ stdenv.lib.optional (enableX11 || enableFB || enableDirectFB) "--enable-graphics"

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation {
configureFlags = if sslSupport then "--with-ssl" else ""; configureFlags = if sslSupport then "--with-ssl" else "";
buildInputs = [ ncurses gzip ] ++ stdenv.lib.optional sslSupport openssl; buildInputs = [ ncurses gzip ] ++ stdenv.lib.optional sslSupport openssl;
buildNativeInputs = [ ncurses ]; nativeBuildInputs = [ ncurses ];
crossAttrs = { crossAttrs = {
configureFlags = "--enable-widec" + configureFlags = "--enable-widec" +

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ kdelibs qca2 qoauth ]; buildInputs = [ kdelibs qca2 qoauth ];
buildNativeInputs = [ gettext pkgconfig shared_desktop_ontologies ]; nativeBuildInputs = [ gettext pkgconfig shared_desktop_ontologies ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
platforms = platforms.linux; platforms = platforms.linux;

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gtk libglade libosip libexosip readline mediastreamer speex ]; buildInputs = [ gtk libglade libosip libexosip readline mediastreamer speex ];
buildNativeInputs = [ intltool pkgconfig ]; nativeBuildInputs = [ intltool pkgconfig ];
configureFlags = "--enable-external-ortp --enable-external-mediastreamer"; configureFlags = "--enable-external-ortp --enable-external-mediastreamer";

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
cp -r * $out/libexec/skype/ cp -r * $out/libexec/skype/
fullPath= fullPath=
for i in $buildNativeInputs; do for i in $nativeBuildInputs; do
fullPath=$fullPath''${fullPath:+:}$i/lib fullPath=$fullPath''${fullPath:+:}$i/lib
done done

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0fk65f7q75z3wm5h4wad7g5sm2j6r8v2845b74ycl29br78ki2hf"; sha256 = "0fk65f7q75z3wm5h4wad7g5sm2j6r8v2845b74ycl29br78ki2hf";
}; };
buildNativeInputs = [pkgconfig libxslt]; nativeBuildInputs = [pkgconfig libxslt];
buildInputs = [ libxml2 dbus_glib sqlite libsoup libnice telepathy_glib gnutls ]; buildInputs = [ libxml2 dbus_glib sqlite libsoup libnice telepathy_glib gnutls ];
configureFlags = "--with-ca-certificates=/etc/ca-bundle.crt"; configureFlags = "--with-ca-certificates=/etc/ca-bundle.crt";

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ glib telepathy_glib dbus_glib pidgin ]; buildInputs = [ glib telepathy_glib dbus_glib pidgin ];
buildNativeInputs = [ pkgconfig libxslt ]; nativeBuildInputs = [ pkgconfig libxslt ];
meta = { meta = {
description = "A Telepathy connection manager based on libpurple"; description = "A Telepathy connection manager based on libpurple";

View file

@ -20,7 +20,7 @@ let
text_ui = [ ktp.telepathy_logger_qt qt_gstreamer telepathy_logger ]; text_ui = [ ktp.telepathy_logger_qt qt_gstreamer telepathy_logger ];
}; };
extraBuildNativeInputs = { extraNativeBuildInputs = {
telepathy_logger_qt = [ flex bison ]; telepathy_logger_qt = [ flex bison ];
}; };
@ -37,7 +37,7 @@ let
inherit sha256; inherit sha256;
}; };
buildNativeInputs = [ gettext pkgconfig ] ++ (stdenv.lib.attrByPath [ key ] [] extraBuildNativeInputs); nativeBuildInputs = [ gettext pkgconfig ] ++ (stdenv.lib.attrByPath [ key ] [] extraNativeBuildInputs);
buildInputs = [ kdelibs telepathy_qt ] buildInputs = [ kdelibs telepathy_qt ]
++ stdenv.lib.optional (name != "ktp-common-internals") ktp.common_internals ++ stdenv.lib.optional (name != "ktp-common-internals") ktp.common_internals
++ (stdenv.lib.attrByPath [ key ] [] extraBuildInputs); ++ (stdenv.lib.attrByPath [ key ] [] extraBuildInputs);

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ dbus_glib libxml2 sqlite telepathy_glib pkgconfig intltool ]; buildInputs = [ dbus_glib libxml2 sqlite telepathy_glib pkgconfig intltool ];
buildNativeInputs = [ libxslt ]; nativeBuildInputs = [ libxslt ];
configureFlags = "--enable-call"; configureFlags = "--enable-call";

View file

@ -11,5 +11,5 @@ stdenv.mkDerivation rec {
buildInputs = [ telepathy_glib ]; buildInputs = [ telepathy_glib ];
buildNativeInputs = [ pkgconfig libxslt ]; nativeBuildInputs = [ pkgconfig libxslt ];
} }

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "11cmmdq31kivm6nsv61hxy3hxnnmbd8sj55xqwx9hyqzybh70dyf"; sha256 = "11cmmdq31kivm6nsv61hxy3hxnnmbd8sj55xqwx9hyqzybh70dyf";
}; };
buildNativeInputs = [pkgconfigUpstream libxslt python]; nativeBuildInputs = [pkgconfigUpstream libxslt python];
buildInputs = [ libxml2 dbus_glib telepathy_glib sofia_sip]; buildInputs = [ libxml2 dbus_glib telepathy_glib sofia_sip];
meta = { meta = {

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ glib libxml2 telepathy_glib avahi libsoup libuuid gnutls buildInputs = [ glib libxml2 telepathy_glib avahi libsoup libuuid gnutls
sqlite ]; sqlite ];
buildNativeInputs = [ libxslt pkgconfigUpstream ]; nativeBuildInputs = [ libxslt pkgconfigUpstream ];
configureFlags = "--disable-avahi-tests"; configureFlags = "--disable-avahi-tests";

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
patches = [] ++ stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff"; patches = [] ++ stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff";
buildInputs = stdenv.lib.optional enableACLs acl; buildInputs = stdenv.lib.optional enableACLs acl;
buildNativeInputs = [perl]; nativeBuildInputs = [perl];
meta = { meta = {
homepage = http://samba.anu.edu.au/rsync/; homepage = http://samba.anu.edu.au/rsync/;

View file

@ -27,7 +27,7 @@ stdenv.mkDerivation (rec {
done done
'' else ""; '' else "";
dontStrip = if ! ocaml.nativeCompilers then true else false; dontStrip = !ocaml.nativeCompilers;
meta = { meta = {
homepage = http://www.cis.upenn.edu/~bcpierce/unison/; homepage = http://www.cis.upenn.edu/~bcpierce/unison/;

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ kdelibs qimageblitz kdepimlibs gpgme ]; buildInputs = [ kdelibs qimageblitz kdepimlibs gpgme ];
buildNativeInputs = [ cmake gettext ]; nativeBuildInputs = [ cmake gettext ];
meta = { meta = {
description = "A multi-purpose note-taking application"; description = "A multi-purpose note-taking application";

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0q6ydi7hzrzwqzb38gikdh1l2zf8qp4i3nkgyb01148bjwrhvf21"; sha256 = "0q6ydi7hzrzwqzb38gikdh1l2zf8qp4i3nkgyb01148bjwrhvf21";
}; };
buildNativeInputs = [ cmake perl pkgconfig ]; nativeBuildInputs = [ cmake perl pkgconfig ];
buildInputs = [ kdelibs attica zlib libpng boost mesa kdepimlibs buildInputs = [ kdelibs attica zlib libpng boost mesa kdepimlibs
createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ kdepimlibs perl boost gpgme gmpxx libalkimia libofx libical ]; buildInputs = [ kdepimlibs perl boost gpgme gmpxx libalkimia libofx libical ];
buildNativeInputs = [ cmake automoc4 gettext shared_mime_info pkgconfig ]; nativeBuildInputs = [ cmake automoc4 gettext shared_mime_info pkgconfig ];
KDEDIRS = libalkimia; KDEDIRS = libalkimia;

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ kdelibs grantlee qca2 libofx ]; buildInputs = [ kdelibs grantlee qca2 libofx ];
buildNativeInputs = [ gettext ]; nativeBuildInputs = [ gettext ];
meta = { meta = {
inherit (kdelibs.meta) platforms; inherit (kdelibs.meta) platforms;

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ qt4 eigen zlib openbabel mesa libX11 ]; buildInputs = [ qt4 eigen zlib openbabel mesa libX11 ];
buildNativeInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
NIX_CFLAGS_COMPILE = "-include ${mesa}/include/GL/glu.h"; NIX_CFLAGS_COMPILE = "-include ${mesa}/include/GL/glu.h";

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ cln ]; propagatedBuildInputs = [ cln ];
buildInputs = [ readline ]; buildInputs = [ readline ];
buildNativeInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
configureFlags = "--disable-rpath"; configureFlags = "--disable-rpath";

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
}; };
# Perl is only for the documentation # Perl is only for the documentation
buildNativeInputs = [ perl ]; nativeBuildInputs = [ perl ];
patches = [ ./gcc43.patch ]; patches = [ ./gcc43.patch ];

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libxml2 freetype glew mesa qt4 libjpeg ]; buildInputs = [ libxml2 freetype glew mesa qt4 libjpeg ];
buildNativeInputs = [ cmake makeWrapper ]; nativeBuildInputs = [ cmake makeWrapper ];
# FIXME: "make check" needs Docbook's DTD 4.4, among other things. # FIXME: "make check" needs Docbook's DTD 4.4, among other things.
doCheck = false; doCheck = false;

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ zlib openssl readline sqlite ]; buildInputs = [ zlib openssl readline sqlite ];
buildNativeInputs = [ tcl ]; nativeBuildInputs = [ tcl ];
doCheck = true; doCheck = true;

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [ apr aprutil subversion db4 kdelibs ]; buildInputs = [ apr aprutil subversion db4 kdelibs ];
buildNativeInputs = [ gettext ]; nativeBuildInputs = [ gettext ];
meta = { meta = {
description = "KDE SVN front-end"; description = "KDE SVN front-end";

View file

@ -115,7 +115,7 @@ stdenv.mkDerivation rec {
++ optional libpngSupport libpng ++ optional libpngSupport libpng
; ;
buildNativeInputs = [ yasm ]; nativeBuildInputs = [ yasm ];
postConfigure = '' postConfigure = ''
echo CONFIG_MPEGAUDIODSP=yes >> config.mak echo CONFIG_MPEGAUDIODSP=yes >> config.mak

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ kdelibs phonon soprano shared_desktop_ontologies kdemultimedia taglib gettext ]; buildInputs = [ kdelibs phonon soprano shared_desktop_ontologies kdemultimedia taglib gettext ];
buildNativeInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A media player for KDE based on Nepomuk and Phonon"; description = "A media player for KDE based on Nepomuk and Phonon";

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec{
}; };
buildInputs = [ libpng freetype libdvdread libxml2 zlib fribidi imagemagick ]; buildInputs = [ libpng freetype libdvdread libxml2 zlib fribidi imagemagick ];
buildNativeInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
meta = { meta = {
description = "Tools for generating DVD files to be played on standalone DVD players"; description = "Tools for generating DVD files to be played on standalone DVD players";

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
# this is the bare minimum configuration, as I'm only interested in MP4Box # this is the bare minimum configuration, as I'm only interested in MP4Box
# For most other functionality, this should probably be extended # For most other functionality, this should probably be extended
buildNativeInputs = [ pkgconfig zlib ]; nativeBuildInputs = [ pkgconfig zlib ];
meta = { meta = {
description = "Open Source multimedia framework for research and academic purposes"; description = "Open Source multimedia framework for research and academic purposes";

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
]; ];
buildNativeInputs = [ pkgconfig which ]; nativeBuildInputs = [ pkgconfig which ];
patches = [ ./settings.patch ]; patches = [ ./settings.patch ];
} }

View file

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
libdc1394 libraw1394 libdc1394 libraw1394
]; ];
buildNativeInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
configureFlags = configureFlags =
[ "--enable-alsa" [ "--enable-alsa"

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1i3byriqav06b55kwzs4dkzrjw7mmmcv0rc7jzb52hn8qp8xz34x"; sha256 = "1i3byriqav06b55kwzs4dkzrjw7mmmcv0rc7jzb52hn8qp8xz34x";
}; };
buildNativeInputs = [ pkgconfig shared_mime_info ]; nativeBuildInputs = [ pkgconfig shared_mime_info ];
buildInputs = buildInputs =
[ xineLib libpng readline ncurses curl lirc libjpeg [ xineLib libpng readline ncurses curl lirc libjpeg

View file

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
buildPhase = "make"; buildPhase = "make";
buildNativeInputs = [ makeWrapper pythonPackages.wrapPython ]; nativeBuildInputs = [ makeWrapper pythonPackages.wrapPython ];
# patch the runner script in order to make wrapPythonPrograms work and run the program using a syscall # patch the runner script in order to make wrapPythonPrograms work and run the program using a syscall
# example code: /etc/nixos/nixpkgs/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix # example code: /etc/nixos/nixpkgs/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix

View file

@ -20,21 +20,21 @@ let inherit (builtins) head tail trace; in
else if (hasSuffixHack ".tar.gz" s) || (hasSuffixHack ".tgz" s) then "tgz" else if (hasSuffixHack ".tar.gz" s) || (hasSuffixHack ".tgz" s) then "tgz"
else if (hasSuffixHack ".tar.bz2" s) || (hasSuffixHack ".tbz2" s) || else if (hasSuffixHack ".tar.bz2" s) || (hasSuffixHack ".tbz2" s) ||
(hasSuffixHack ".tbz" s) then "tbz2" (hasSuffixHack ".tbz" s) then "tbz2"
else if (hasSuffixHack ".tar.Z" s) then "tZ" else if hasSuffixHack ".tar.Z" s then "tZ"
else if (hasSuffixHack ".tar.lzma" s) then "tar.lzma" else if hasSuffixHack ".tar.lzma" s then "tar.lzma"
else if (hasSuffixHack ".tar.xz" s) then "tar.xz" else if hasSuffixHack ".tar.xz" s then "tar.xz"
else if (hasSuffixHack ".zip" s) || (hasSuffixHack ".ZIP" s) then "zip" else if (hasSuffixHack ".zip" s) || (hasSuffixHack ".ZIP" s) then "zip"
else if (hasSuffixHack "-cvs-export" s) then "cvs-dir" else if hasSuffixHack "-cvs-export" s then "cvs-dir"
else if (hasSuffixHack "-git-export" s) then "git-dir" else if hasSuffixHack "-git-export" s then "git-dir"
else if (hasSuffixHack ".nar.bz2" s) then "narbz2" else if hasSuffixHack ".nar.bz2" s then "narbz2"
else if (hasSuffixHack ".rpm" s) then "rpm" else if hasSuffixHack ".rpm" s then "rpm"
# Mostly for manually specified directories.. # Mostly for manually specified directories..
else if (hasSuffixHack "/" s) then "dir" else if hasSuffixHack "/" s then "dir"
# Last block - for single files!! It should be always after .tar.* # Last block - for single files!! It should be always after .tar.*
else if (hasSuffixHack ".bz2" s) then "plain-bz2" else if hasSuffixHack ".bz2" s then "plain-bz2"
else if (hasSuffixHack ".gz" s) then "plain-gz" else if hasSuffixHack ".gz" s then "plain-gz"
# For bootstrap calls # For bootstrap calls
else if (s ==("" + (substring 0 0 s))) then "empty" else if (s ==("" + (substring 0 0 s))) then "empty"
@ -391,7 +391,7 @@ let inherit (builtins) head tail trace; in
cmakeFlags = attrByPath ["cmakeFlags"] [] args; cmakeFlags = attrByPath ["cmakeFlags"] [] args;
cmakeRPathFlag = if (attrByPath ["cmakeSkipRpath "] true args) then " -DCMAKE_SKIP_BUILD_RPATH=ON " else ""; cmakeRPathFlag = if attrByPath ["cmakeSkipRpath "] true args then " -DCMAKE_SKIP_BUILD_RPATH=ON " else "";
cmakeBuildDir = attrByPath ["cmakeBuildDir"] "build" args; cmakeBuildDir = attrByPath ["cmakeBuildDir"] "build" args;
@ -508,7 +508,7 @@ let inherit (builtins) head tail trace; in
); );
builderDefsPackage = bd: func: builderDefsPackage = bd: func:
if (builtins.isFunction func) then if builtins.isFunction func then
(foldArgs (foldArgs
(x: y: ((func (bd // x // y)) // y)) (x: y: ((func (bd // x // y)) // y))
(innerBuilderDefsPackage bd) (innerBuilderDefsPackage bd)
@ -588,7 +588,7 @@ let inherit (builtins) head tail trace; in
url = srcInfo.url; url = srcInfo.url;
sha256 = srcInfo.hash; sha256 = srcInfo.hash;
} // } //
(if (srcInfo ? downloadName) then {name = srcInfo.downloadName;} else {})); (if srcInfo ? downloadName then {name = srcInfo.downloadName;} else {}));
fetchGitFromSrcInfo = srcInfo: fetchgit { fetchGitFromSrcInfo = srcInfo: fetchgit {
url = srcInfo.url; url = srcInfo.url;

View file

@ -91,7 +91,7 @@
test -f $i && ghc --make $i test -f $i && ghc --make $i
done done
for p in $extraBuildInputs $propagatedBuildNativeInputs; do for p in $extraBuildInputs $propagatedNativeBuildInputs; do
if [ -d "$p/include" ]; then if [ -d "$p/include" ]; then
extraLibDirs="$extraLibDirs --extra-include-dir=$p/include" extraLibDirs="$extraLibDirs --extra-include-dir=$p/include"
fi fi
@ -143,8 +143,8 @@
''; '';
postFixup = '' postFixup = ''
if test -f $out/nix-support/propagated-build-native-inputs; then if test -f $out/nix-support/propagated-native-build-inputs; then
ln -s $out/nix-support/propagated-build-native-inputs $out/nix-support/propagated-user-env-packages ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages
fi fi
''; '';

View file

@ -8,14 +8,14 @@ with lib;
let let
findInList = p: list: default: findInList = p: list: default:
if (list == []) then default else if list == [] then default else
if (p (head list)) then (head list) else if (p (head list)) then (head list) else
findInList p (tail list) default; findInList p (tail list) default;
checkAttrInclusion = s: a: b: checkAttrInclusion = s: a: b:
( (
if (! isAttrs b) then s else if ! isAttrs b then s else
if (lib.attrByPath ["_type"] "" b) == "option" then "" else if (lib.attrByPath ["_type"] "" b) == "option" then "" else
findInList (x : x != "") findInList (x : x != "")
( map (x: if (x == "servicesProposal") # this attr will be checked at another place ( -> upstart-jobs/default.nix ) ( map (x: if (x == "servicesProposal") # this attr will be checked at another place ( -> upstart-jobs/default.nix )

View file

@ -47,11 +47,11 @@ stdenv.mkDerivation {
else shell; else shell;
crossAttrs = { crossAttrs = {
shell = shell.hostDrv + shell.hostDrv.shellPath; shell = shell.crossDrv + shell.crossDrv.shellPath;
libc = libc.hostDrv; libc = libc.crossDrv;
coreutils = coreutils.hostDrv; coreutils = coreutils.crossDrv;
binutils = binutils.hostDrv; binutils = binutils.crossDrv;
clang = clang.hostDrv; clang = clang.crossDrv;
# #
# This is not the best way to do this. I think the reference should be # This is not the best way to do this. I think the reference should be
# the style in the gcc-cross-wrapper, but to keep a stable stdenv now I # the style in the gcc-cross-wrapper, but to keep a stable stdenv now I

View file

@ -2,16 +2,16 @@
# TODO: statically check if mercurial as the https support if the url starts woth https. # TODO: statically check if mercurial as the https support if the url starts woth https.
stdenv.mkDerivation { stdenv.mkDerivation {
name = "hg-archive" + (if (name != null) then "-${name}" else ""); name = "hg-archive" + (if name != null then "-${name}" else "");
builder = ./builder.sh; builder = ./builder.sh;
buildInputs = [mercurial]; buildInputs = [mercurial];
# Nix <= 0.7 compatibility. # Nix <= 0.7 compatibility.
id = md5; id = md5;
outputHashAlgo = if (md5 != null) then "md5" else "sha256"; outputHashAlgo = if md5 != null then "md5" else "sha256";
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHash = if (md5 != null) then md5 else sha256; outputHash = if md5 != null then md5 else sha256;
inherit url tag; inherit url tag;
preferLocalBuild = true; preferLocalBuild = true;

View file

@ -10,7 +10,7 @@
stdenv.mkDerivation { stdenv.mkDerivation {
builder = ./builder.sh; builder = ./builder.sh;
buildNativeInputs = [monotone]; nativeBuildInputs = [monotone];
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
outputHashMode = "recursive"; outputHashMode = "recursive";

View file

@ -45,7 +45,7 @@ stdenv.mkDerivation {
utils = ./utils.sh; utils = ./utils.sh;
addFlags = ./add-flags; addFlags = ./add-flags;
inherit nativeTools nativeLibc nativePrefix gcc libc binutils; inherit nativeTools nativeLibc nativePrefix gcc libc binutils;
crossConfig = if (cross != null) then cross.config else null; crossConfig = if cross != null then cross.config else null;
gccLibs = if gcc != null then gccLibs else null; gccLibs = if gcc != null then gccLibs else null;
name = chosenName; name = chosenName;
langC = if nativeTools then true else gcc.langC; langC = if nativeTools then true else gcc.langC;

View file

@ -50,17 +50,17 @@ stdenv.mkDerivation ({
langFortran = if nativeTools then false else gcc ? langFortran; langFortran = if nativeTools then false else gcc ? langFortran;
langAda = if nativeTools then false else gcc ? langAda && gcc.langAda; langAda = if nativeTools then false else gcc ? langAda && gcc.langAda;
langVhdl = if nativeTools then false else gcc ? langVhdl && gcc.langVhdl; langVhdl = if nativeTools then false else gcc ? langVhdl && gcc.langVhdl;
zlib = if (gcc != null && gcc ? langVhdl) then zlib else null; zlib = if gcc != null && gcc ? langVhdl then zlib else null;
shell = if shell == "" then stdenv.shell else shell = if shell == "" then stdenv.shell else
if builtins.isAttrs shell then (shell + shell.shellPath) if builtins.isAttrs shell then (shell + shell.shellPath)
else shell; else shell;
crossAttrs = { crossAttrs = {
shell = shell.hostDrv + shell.hostDrv.shellPath; shell = shell.crossDrv + shell.crossDrv.shellPath;
libc = libc.hostDrv; libc = libc.crossDrv;
coreutils = coreutils.hostDrv; coreutils = coreutils.crossDrv;
binutils = binutils.hostDrv; binutils = binutils.crossDrv;
gcc = gcc.hostDrv; gcc = gcc.crossDrv;
# #
# This is not the best way to do this. I think the reference should be # This is not the best way to do this. I think the reference should be
# the style in the gcc-cross-wrapper, but to keep a stable stdenv now I # the style in the gcc-cross-wrapper, but to keep a stable stdenv now I

View file

@ -22,7 +22,7 @@ in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "initrd"; name = "initrd";
builder = ./make-initrd.sh; builder = ./make-initrd.sh;
buildNativeInputs = inputsFun stdenv.platform.uboot; nativeBuildInputs = inputsFun stdenv.platform.uboot;
makeUInitrd = makeUInitrdFun stdenv.platform.uboot; makeUInitrd = makeUInitrdFun stdenv.platform.uboot;
@ -37,7 +37,7 @@ stdenv.mkDerivation {
pathsFromGraph = ./paths-from-graph.pl; pathsFromGraph = ./paths-from-graph.pl;
crossAttrs = { crossAttrs = {
buildNativeInputs = inputsFun stdenv.cross.platform.uboot; nativeBuildInputs = inputsFun stdenv.cross.platform.uboot;
makeUInitrd = makeUInitrdFun stdenv.cross.platform.uboot; makeUInitrd = makeUInitrdFun stdenv.cross.platform.uboot;
}; };
} }

View file

@ -1,7 +1,7 @@
preConfigurePhases+=" autoreconfPhase" preConfigurePhases+=" autoreconfPhase"
for i in @autoconf@ @automake@ @libtool@; do for i in @autoconf@ @automake@ @libtool@; do
findInputs $i nativePkgs propagated-build-native-inputs findInputs $i nativePkgs propagated-native-build-inputs
done done
autoreconfPhase() { autoreconfPhase() {

View file

@ -55,7 +55,7 @@ rec {
mkdir -p $out/nix-support mkdir -p $out/nix-support
cp ${script} $out/nix-support/setup-hook cp ${script} $out/nix-support/setup-hook
'' + stdenv.lib.optionalString (deps != []) '' '' + stdenv.lib.optionalString (deps != []) ''
echo ${toString deps} > $out/nix-support/propagated-build-native-inputs echo ${toString deps} > $out/nix-support/propagated-native-build-inputs
'' + stdenv.lib.optionalString (substitutions != {}) '' '' + stdenv.lib.optionalString (substitutions != {}) ''
substituteAll ${script} $out/nix-support/setup-hook substituteAll ${script} $out/nix-support/setup-hook
''); '');

View file

@ -8,5 +8,5 @@ stdenv.mkDerivation {
sha256 = "1ka0nw2kc85p10y8x31v0wv06a88k7qrgafp4ys04y9fzz0rkcjj"; sha256 = "1ka0nw2kc85p10y8x31v0wv06a88k7qrgafp4ys04y9fzz0rkcjj";
}; };
buildNativeInputs = [ itstool libxml2 gettext ]; nativeBuildInputs = [ itstool libxml2 gettext ];
} }

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ glib ]; buildInputs = [ glib ];
buildNativeInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
meta = { meta = {
inherit (glib.meta) maintainers platforms; inherit (glib.meta) maintainers platforms;

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gettext ]; buildInputs = [ gettext ];
buildNativeInputs = [ perl perlXMLParser intltool xkbcomp ]; nativeBuildInputs = [ perl perlXMLParser intltool xkbcomp ];
patches = [ ./eo.patch ]; patches = [ ./eo.patch ];

View file

@ -10,5 +10,5 @@ stdenv.mkDerivation rec {
sha256 = "cc7f15e54e2640697b58c26e74cc3f6ebadeb4ef6622bffe9c1e6874cc3478d6"; sha256 = "cc7f15e54e2640697b58c26e74cc3f6ebadeb4ef6622bffe9c1e6874cc3478d6";
}; };
buildNativeInputs = [ pkgconfig intltool iconnamingutils gtk ]; nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk ];
} }

View file

@ -13,5 +13,5 @@ stdenv.mkDerivation {
propagatedBuildInputs = [ glib libtasn1 ]; propagatedBuildInputs = [ glib libtasn1 ];
buildNativeInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
} }

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation {
libtasn1 libtool libcanberra libtasn1 libtool libcanberra
]; ];
buildNativeInputs = [ pkgconfig intltool which ]; nativeBuildInputs = [ pkgconfig intltool which ];
configureFlags = "--disable-scrollkeeper"; configureFlags = "--disable-scrollkeeper";
NIX_CFLAGS_COMPILE="-I${GConf}/include/gconf/2"; NIX_CFLAGS_COMPILE="-I${GConf}/include/gconf/2";

View file

@ -13,5 +13,5 @@ stdenv.mkDerivation {
[ dbus_glib gtk libXau libXtst inputproto libglade startup_notification [ dbus_glib gtk libXau libXtst inputproto libglade startup_notification
GConf upower GConf upower
]; ];
buildNativeInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
} }

View file

@ -14,5 +14,5 @@ stdenv.mkDerivation {
pulseaudio pulseaudio
]; ];
buildNativeInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
} }

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
libgnome_keyring libsoup avahi libtool libxslt docbook_xsl libgnome_keyring libsoup avahi libtool libxslt docbook_xsl
]; ];
buildNativeInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
enableParallelBuilding = true; enableParallelBuilding = true;
} }

View file

@ -12,5 +12,5 @@ stdenv.mkDerivation {
configureFlags = "--disable-scrollkeeper"; configureFlags = "--disable-scrollkeeper";
buildInputs = [ gtk libglade libxml2 libxslt libX11 ]; buildInputs = [ gtk libglade libxml2 libxslt libX11 ];
buildNativeInputs = [ pkgconfig intltool gnome_doc_utils which ]; nativeBuildInputs = [ pkgconfig intltool gnome_doc_utils which ];
} }

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation {
buildInputs = [ ORBit2 dbus_libs dbus_glib libxml2 polkit gtk ]; buildInputs = [ ORBit2 dbus_libs dbus_glib libxml2 polkit gtk ];
propagatedBuildInputs = [ glib ]; propagatedBuildInputs = [ glib ];
buildNativeInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
configureFlags = "--with-gtk=2.0"; configureFlags = "--with-gtk=2.0";
} }

View file

@ -9,6 +9,6 @@ stdenv.mkDerivation rec {
sha256 = "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"; sha256 = "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam";
}; };
buildNativeInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ glib libIDL ]; propagatedBuildInputs = [ glib libIDL ];
} }

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "a5e0092bb73371a3ca76b2ecae794778f3a9409056fee9b28ec1db072d8e6108"; sha256 = "a5e0092bb73371a3ca76b2ecae794778f3a9409056fee9b28ec1db072d8e6108";
}; };
buildNativeInputs = [pkgconfig]; nativeBuildInputs = [pkgconfig];
propagatedBuildInputs = [ GConf gtkmm glibmm ]; propagatedBuildInputs = [ GConf gtkmm glibmm ];

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
patches = [ ./gdk.patch ]; patches = [ ./gdk.patch ];
buildNativeInputs = [pkgconfig]; nativeBuildInputs = [pkgconfig];
propagatedBuildInputs = [ gtkglext gtkmm gtk mesa gdk_pixbuf ]; propagatedBuildInputs = [ gtkglext gtkmm gtk mesa gdk_pixbuf ];

View file

@ -11,5 +11,5 @@ stdenv.mkDerivation rec {
buildInputs = [ glib gettext ]; buildInputs = [ glib gettext ];
buildNativeInputs = [ flex bison pkgconfig ]; nativeBuildInputs = [ flex bison pkgconfig ];
} }

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
}; };
preConfigure = "export USER=`whoami`"; preConfigure = "export USER=`whoami`";
buildNativeInputs = [ flex bison pkgconfig intltool procps ]; nativeBuildInputs = [ flex bison pkgconfig intltool procps ];
buildInputs = [ libxml2 ]; buildInputs = [ libxml2 ];
propagatedBuildInputs = [ popt glib ORBit2 ]; propagatedBuildInputs = [ popt glib ORBit2 ];
} }

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"; sha256 = "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs";
}; };
buildNativeInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ bison popt gtk libxml2 GConf libglade libtool ]; buildInputs = [ bison popt gtk libxml2 GConf libglade libtool ];
propagatedBuildInputs = [ libbonobo libgnomecanvas libgnome ]; propagatedBuildInputs = [ libbonobo libgnomecanvas libgnome ];
} }

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"; sha256 = "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj";
}; };
buildNativeInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ popt zlib intltool GConf gnome_vfs libcanberra libtool ]; buildInputs = [ popt zlib intltool GConf gnome_vfs libcanberra libtool ];
propagatedBuildInputs = [ glib libbonobo ]; propagatedBuildInputs = [ glib libbonobo ];
} }

View file

@ -10,6 +10,6 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ libglade ]; buildInputs = [ libglade ];
buildNativeInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
propagatedBuildInputs = [ libart_lgpl gtk ]; propagatedBuildInputs = [ libart_lgpl gtk ];
} }

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"; sha256 = "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf";
}; };
buildNativeInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = buildInputs =
[ xlibs.xlibs libxml2 GConf pango glib libgnome_keyring libglade libtool ]; [ xlibs.xlibs libxml2 GConf pango glib libgnome_keyring libglade libtool ];

View file

@ -9,6 +9,6 @@ stdenv.mkDerivation rec {
sha256 = "1fsgvmncd9caw552lyfg8swmsd6bh4ijjsph69bwacwfxwf09j75"; sha256 = "1fsgvmncd9caw552lyfg8swmsd6bh4ijjsph69bwacwfxwf09j75";
}; };
buildNativeInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk ]; buildInputs = [ gtk ];
} }

Some files were not shown because too many files have changed in this diff Show more