fractal-nixified: get gst-plugin-gtk4 to cross build
This commit is contained in:
parent
54b0c1bfcf
commit
0ad6b2bc1b
|
@ -88,8 +88,11 @@ let
|
||||||
gtk4
|
gtk4
|
||||||
glib
|
glib
|
||||||
];
|
];
|
||||||
verbose = true;
|
|
||||||
CARGO_PKG_REPOSITORY = "nixpkgs";
|
CARGO_PKG_REPOSITORY = "nixpkgs";
|
||||||
|
# it wants `type = [ "cdylib" "rlib" ]` but that causes a link format failure on cross compilation
|
||||||
|
# (tries to link aarch64 gstgtk4.o file with the x86_64 linker).
|
||||||
|
# default if unspecified it `type = [ "lib" ]`
|
||||||
|
type = [ "rlib" ];
|
||||||
};
|
};
|
||||||
libadwaita-sys = attrs: attrs // {
|
libadwaita-sys = attrs: attrs // {
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user