mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
lshw: fix cross-compilation
This commit is contained in:
parent
d22575e075
commit
f4951397ba
1 changed files with 12 additions and 5 deletions
|
@ -13,11 +13,18 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0brwra4jld0d53d7jsgca415ljglmmx1l2iazpj4ndilr48yy8mf";
|
||||
};
|
||||
|
||||
patches = [ (fetchpatch {
|
||||
# fix crash in scan_dmi_sysfs() when run as non-root
|
||||
url = "https://github.com/lyonel/lshw/commit/fbdc6ab15f7eea0ddcd63da355356ef156dd0d96.patch";
|
||||
sha256 = "147wyr5m185f8swsmb4q1ahs9r1rycapbpa2548aqbv298bbish3";
|
||||
})];
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# fix crash in scan_dmi_sysfs() when run as non-root
|
||||
url = "https://github.com/lyonel/lshw/commit/fbdc6ab15f7eea0ddcd63da355356ef156dd0d96.patch";
|
||||
sha256 = "147wyr5m185f8swsmb4q1ahs9r1rycapbpa2548aqbv298bbish3";
|
||||
})
|
||||
(fetchpatch {
|
||||
# support cross-compilation
|
||||
url = "https://github.com/lyonel/lshw/commit/8486d25cea9b68794504fbd9e5c6e294bac6cb07.patch";
|
||||
sha256 = "08f0wnxsq0agvsc66bhc7lxvk564ir0pp8pg3cym6a621prb9lm0";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue