tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rasdaemon: fix AMD segfault
Evils
2 years ago
4bcb6ee1
3030f185
+9
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
rasdaemon
default.nix
+9
pkgs/os-specific/linux/rasdaemon/default.nix
···
2
, autoreconfHook, pkg-config
3
, glibcLocales, kmod, coreutils, perl
4
, dmidecode, hwdata, sqlite, libtraceevent
0
5
, nixosTests
6
}:
7
···
15
rev = "v${version}";
16
sha256 = "sha256-BX3kc629FOh5cnD6Sa/69wKdhmhT3Rpz5ZvhnD4MclQ=";
17
};
0
0
0
0
0
0
0
0
18
19
nativeBuildInputs = [ autoreconfHook pkg-config ];
20
···
2
, autoreconfHook, pkg-config
3
, glibcLocales, kmod, coreutils, perl
4
, dmidecode, hwdata, sqlite, libtraceevent
5
+
, fetchpatch
6
, nixosTests
7
}:
8
···
16
rev = "v${version}";
17
sha256 = "sha256-BX3kc629FOh5cnD6Sa/69wKdhmhT3Rpz5ZvhnD4MclQ=";
18
};
19
+
20
+
patches = [
21
+
(fetchpatch { # fix #295002 (segfault on AMD), will be in the release after 0.8.0
22
+
name = "fix crash on AMD";
23
+
url = "https://github.com/mchehab/rasdaemon/commit/f1ea76375281001cdf4a048c1a4a24d86c6fbe48.patch";
24
+
hash = "sha256-1VPDTrAsvZGiGbh52EUdG6tYV/n6wUS0mphOSXzran0=";
25
+
})
26
+
];
27
28
nativeBuildInputs = [ autoreconfHook pkg-config ];
29