Fix vboot_reference's libuuid overriding to work on systems wo libuuid
This commit is contained in:
parent
d73c8ed79d
commit
29b6370b0c
@ -16,9 +16,11 @@ in stdenv.mkDerivation {
|
|||||||
sha256 = "00qhwhh5ygrcfm9is8hrk1spqdvfs6aa744h10jbr03zics5bvac";
|
sha256 = "00qhwhh5ygrcfm9is8hrk1spqdvfs6aa744h10jbr03zics5bvac";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig openssl
|
buildInputs = [ pkgconfig openssl ] ++
|
||||||
(stdenv.lib.overrideDerivation libuuid
|
(if libuuid == null
|
||||||
(args: { configureFlags = args.configureFlags + " --enable-static"; })) ];
|
then []
|
||||||
|
else [ (stdenv.lib.overrideDerivation libuuid
|
||||||
|
(args: { configureFlags = args.configureFlags + " --enable-static"; })) ]);
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make ARCH=${arch} `pwd`/build/cgpt/cgpt
|
make ARCH=${arch} `pwd`/build/cgpt/cgpt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user