1
0
forked from colin/nix-files

ibus: cross compile without binfmt/qemu

This commit is contained in:
Colin 2023-12-04 06:59:00 +00:00
parent 3ee487ca94
commit 04af5558b5
2 changed files with 4 additions and 1 deletions

View File

@ -1038,7 +1038,7 @@ in {
# buildPackages.gtk-doc = final.gtk-doc; # buildPackages.gtk-doc = final.gtk-doc;
# }); # });
# needs binfmt: "configure: error: no suitable Python interpreter found" # needs binfmt: "configure: error: no suitable Python interpreter found"
ibus = needsBinfmt prev.ibus; # ibus = needsBinfmt prev.ibus;
iotas = prev.iotas.overrideAttrs (_: { iotas = prev.iotas.overrideAttrs (_: {
# error: "<iotas> is not allowed to refer to the following paths: <build python>" # error: "<iotas> is not allowed to refer to the following paths: <build python>"

View File

@ -42,7 +42,10 @@ in
configureFlags = upstream.configureFlags ++ [ configureFlags = upstream.configureFlags ++ [
"--enable-vala" "--enable-vala"
# fix "python version is too old"
"--with-python=${buildPackages.python3.interpreter}"
]; ];
env.GLIB_COMPILE_RESOURCES="${lib.getDev buildPackages.glib}/bin/glib-compile-resources";
# to debug: # to debug:
# makeFlags = upstream.makeFlags ++ [ "V=1" ]; # makeFlags = upstream.makeFlags ++ [ "V=1" ];