mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
librest_1_0: fix cross
This commit is contained in:
parent
e8d9eb71f6
commit
928c439ec2
@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
depsBuildBuild = [ pkg-config ];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
@ -64,6 +66,12 @@ stdenv.mkDerivation rec {
|
|||||||
# https://gitlab.gnome.org/GNOME/librest/-/merge_requests/19
|
# https://gitlab.gnome.org/GNOME/librest/-/merge_requests/19
|
||||||
substituteInPlace meson.build \
|
substituteInPlace meson.build \
|
||||||
--replace "con." "conf."
|
--replace "con." "conf."
|
||||||
|
|
||||||
|
# Run-time dependency gi-docgen found: NO (tried pkgconfig and cmake)
|
||||||
|
# it should be a build-time dep for build
|
||||||
|
# TODO: send upstream
|
||||||
|
substituteInPlace docs/meson.build \
|
||||||
|
--replace "'gi-docgen', ver" "'gi-docgen', native:true, ver"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user