rasdaemon: fix AMD segfault
This commit is contained in:
parent
3030f185ba
commit
4bcb6ee177
1 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
, autoreconfHook, pkg-config
|
, autoreconfHook, pkg-config
|
||||||
, glibcLocales, kmod, coreutils, perl
|
, glibcLocales, kmod, coreutils, perl
|
||||||
, dmidecode, hwdata, sqlite, libtraceevent
|
, dmidecode, hwdata, sqlite, libtraceevent
|
||||||
|
, fetchpatch
|
||||||
, nixosTests
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -16,6 +17,14 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-BX3kc629FOh5cnD6Sa/69wKdhmhT3Rpz5ZvhnD4MclQ=";
|
sha256 = "sha256-BX3kc629FOh5cnD6Sa/69wKdhmhT3Rpz5ZvhnD4MclQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch { # fix #295002 (segfault on AMD), will be in the release after 0.8.0
|
||||||
|
name = "fix crash on AMD";
|
||||||
|
url = "https://github.com/mchehab/rasdaemon/commit/f1ea76375281001cdf4a048c1a4a24d86c6fbe48.patch";
|
||||||
|
hash = "sha256-1VPDTrAsvZGiGbh52EUdG6tYV/n6wUS0mphOSXzran0=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue