mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
vboot_reference: fix evaluation after 1aac1fe5dd
This commit is contained in:
parent
10f9fb63f1
commit
8b49936ad4
1 changed files with 4 additions and 5 deletions
|
@ -12,11 +12,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "14d3a93ha5k4al4ib43nyn1ppx7kgb12xw6mkflhx8nxmx8827nc";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig openssl stdenv.cc.libc.static ] ++
|
||||
(if libuuid == null
|
||||
then []
|
||||
else [ (stdenv.lib.overrideDerivation libuuid
|
||||
(args: { configureFlags = args.configureFlags + " --enable-static"; })) ]);
|
||||
buildInputs = [ pkgconfig openssl stdenv.cc.libc.static ]
|
||||
++ stdenv.lib.optional (libuuid != null)
|
||||
(libuuid.overrideAttrs (attrs:
|
||||
{ configureFlags = attrs.configureFlags ++ [ "--enable-static" ]; }));
|
||||
|
||||
arch = if stdenv.system == "x86_64-linux" then "x86_64"
|
||||
else if stdenv.system == "i686-linux" then "x86"
|
||||
|
|
Loading…
Reference in a new issue