Fixed Snd build

svn path=/nixpkgs/trunk/; revision=12124
This commit is contained in:
Michael Raskin 2008-06-16 16:33:11 +00:00
parent 65b252a0df
commit 68e45690c3
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ args : with args;
sha256 = "0zqgfnkvkqxby1k74mwba1r4pb520glcsz5jjmpzm9m41nqnghmm";
};
buildInputs = [gtk glib pkgconfig libXpm gmp gettext]
buildInputs = [gtk glib pkgconfig libXpm gmp gettext libX11]
++ (lib.optional (args ? ruby) args.ruby)
++ (lib.optional (args ? mesa) args.mesa)
++ (lib.optional (args ? guile) args.guile)
@ -23,6 +23,7 @@ args : with args;
in with localDefs;
let preBuild = FullDepEntry ("
cp config.log /tmp/snd-config.log
export NIX_LDFLAGS=\"$NIX_LDFLAGS -L${libX11}/lib -lX11 \"
") [minInit doUnpack];
in
stdenv.mkDerivation rec {

View File

@ -6272,7 +6272,7 @@ let pkgs = rec {
sndFun = lib.sumArgs (import ../applications/audio/snd) {
inherit fetchurl stdenv builderDefs stringsWithDeps lib;
inherit pkgconfig gmp gettext;
inherit (xlibs) libXpm;
inherit (xlibs) libXpm libX11;
inherit (gtkLibs) gtk glib;
};