cross: emulate less of gnustep
This commit is contained in:
@@ -349,14 +349,17 @@ in {
|
|||||||
wrapGAppsHook4 = final.wrapGAppsHook;
|
wrapGAppsHook4 = final.wrapGAppsHook;
|
||||||
};
|
};
|
||||||
gnustep = prev.gnustep.overrideScope' (self: super: {
|
gnustep = prev.gnustep.overrideScope' (self: super: {
|
||||||
# "configure: error: Your compiler does not appear to implement the -fconstant-string-class option needed for support of strings."
|
|
||||||
# gnustep is going to need a *lot* of work/domain-specific knowledge to truly cross-compile,
|
# gnustep is going to need a *lot* of work/domain-specific knowledge to truly cross-compile,
|
||||||
base = emulated.gnustep.base;
|
# base = emulated.gnustep.base;
|
||||||
# base = super.base.override {
|
base = (super.base.override {
|
||||||
# # emulating gsmake amounts to emulating stdenv.
|
# fixes: "configure: error: Your compiler does not appear to implement the -fconstant-string-class option needed for support of strings."
|
||||||
# # still fails, but with "checking FFI library usage... ./configure: line 11028: pkg-config: command not found"
|
# emulating gsmake amounts to emulating stdenv.
|
||||||
# inherit (emulated.gnustep) gsmakeDerivation;
|
inherit (emulated.gnustep) gsmakeDerivation;
|
||||||
# };
|
}).overrideAttrs (upstream: {
|
||||||
|
# fixes: "checking FFI library usage... ./configure: line 11028: pkg-config: command not found"
|
||||||
|
# nixpkgs has this in nativeBuildInputs... but that's failing when we partially emulate things.
|
||||||
|
buildInputs = (upstream.buildInputs or []) ++ [ prev.pkg-config ];
|
||||||
|
});
|
||||||
});
|
});
|
||||||
gthumb = mvInputs { nativeBuildInputs = [ final.glib ]; } prev.gthumb;
|
gthumb = mvInputs { nativeBuildInputs = [ final.glib ]; } prev.gthumb;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user