nasc: Fix compilation with gcc10
This commit is contained in:
parent
0a1a3ad2d6
commit
55444ed07f
@ -1,6 +1,7 @@
|
|||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
|
, fetchpatch
|
||||||
, python3
|
, python3
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
@ -31,6 +32,16 @@ stdenv.mkDerivation rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix compilation with gcc10
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/parnold-x/libqalculate/commit/4fa8f2cceada128ef19f82407226b2c230b780d5.patch";
|
||||||
|
extraPrefix = "subprojects/libqalculate/";
|
||||||
|
stripLen = "1";
|
||||||
|
sha256 = "0kbff623zl0s6yx5avx068f2apwzxzvihjahja4qhlkqkhhzj9dm";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
glib # post_install.py
|
glib # post_install.py
|
||||||
gtk3 # post_install.py
|
gtk3 # post_install.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user