mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
libtpms: fix building with -march=x86-64-v4
fix #528643 https://github.com/stefanberger/libtpms/pull/588
This commit is contained in:
parent
f4366bc68d
commit
972ffeccf5
1 changed files with 8 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
pkg-config,
|
||||
autoreconfHook,
|
||||
openssl,
|
||||
|
|
@ -19,6 +20,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-wCipOOr3LnLq1NqDtxw6hq0VTyniDwp18vBxyET/WGM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/stefanberger/libtpms/pull/588.patch?full_index=1";
|
||||
hash = "sha256-MVHy0sdg8ywKzu9M4ueRjH786uXQK8al21k8f+mAdR0=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue