forked from mirrors/nixpkgs
* Revert the manual changes to default.nix
* Build libSM with the system libuuid on Darwin (in such a way that we don't get a rebuild on all other platforms). svn path=/nixpkgs/trunk/; revision=17606
This commit is contained in:
parent
6e6473940d
commit
317fd0edd5
|
@ -614,7 +614,6 @@ let
|
||||||
url = mirror://xorg/X11R7.4/src/everything/libSM-1.1.0.tar.bz2;
|
url = mirror://xorg/X11R7.4/src/everything/libSM-1.1.0.tar.bz2;
|
||||||
sha256 = "10iap6ydxmk0g5qcfnsf9yc30fhvqshgppm0sca21y0z5qwaqdkm";
|
sha256 = "10iap6ydxmk0g5qcfnsf9yc30fhvqshgppm0sca21y0z5qwaqdkm";
|
||||||
};
|
};
|
||||||
configureFlags = if stdenv.system == "i686-darwin" then "LIBUUID_CFLAGS='' LIBUUID_LIBS=''" else "";
|
|
||||||
buildInputs = [pkgconfig libICE libuuid xproto xtrans ];
|
buildInputs = [pkgconfig libICE libuuid xproto xtrans ];
|
||||||
})) // {inherit libICE libuuid xproto xtrans ;};
|
})) // {inherit libICE libuuid xproto xtrans ;};
|
||||||
|
|
||||||
|
|
|
@ -76,4 +76,8 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libSM = attrs: attrs // args.stdenv.lib.optionalAttrs (args.stdenv.system == "i686-darwin") {
|
||||||
|
configureFlags = "LIBUUID_CFLAGS='' LIBUUID_LIBS=''";
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue