1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Merge pull request #569 from errge/vboot_reference

Fix vboot_reference's libuuid overriding to work on systems wo libuuid
This commit is contained in:
Domen Kožar 2013-05-27 14:39:50 -07:00
commit 80bd0dda53

View file

@ -16,9 +16,11 @@ in stdenv.mkDerivation {
sha256 = "00qhwhh5ygrcfm9is8hrk1spqdvfs6aa744h10jbr03zics5bvac";
};
buildInputs = [ pkgconfig openssl
(stdenv.lib.overrideDerivation libuuid
(args: { configureFlags = args.configureFlags + " --enable-static"; })) ];
buildInputs = [ pkgconfig openssl ] ++
(if libuuid == null
then []
else [ (stdenv.lib.overrideDerivation libuuid
(args: { configureFlags = args.configureFlags + " --enable-static"; })) ]);
buildPhase = ''
make ARCH=${arch} `pwd`/build/cgpt/cgpt