From c8370bc29028da1b68465bb2c36e2a9e2a0bc9df Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 6 Dec 2023 19:26:18 +0000 Subject: [PATCH] cross: tried to get cinny to cross-compile, not quite there --- overlays/cross.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/overlays/cross.nix b/overlays/cross.nix index cf6a8863..ae11c218 100644 --- a/overlays/cross.nix +++ b/overlays/cross.nix @@ -446,6 +446,19 @@ in with final; { # ]; # }); + # cinny = buildInQemu { overrides = { + # buildNpmPackage = buildNpmPackage.override { + # inherit (emulated) stdenv; + # buildPackages = final.pkgsHostHost; + # }; + # }; } (prev.cinny.overrideAttrs (upstream: { + # postPatch = '' + # mkdir $TMP + # ''; + # NIX_DEBUG = "6"; + # })); + # cinny-desktop = needsBinfmt prev.cinny-desktop; + # 2023/07/31: upstreaming is unblocked, implemented on servo # clapper = prev.clapper.overrideAttrs (upstream: { # # use the host gjs (meson's find_program expects it to be executable)