mruby-os: Fix native ARM build
Well, the build wasn't good either with cross, but no tests ran, so it
wasn't caught.
-{ stdenvNoCC, lib, fetchFromGitHub, libffi }:
+{ stdenvNoCC, lib, fetchFromGitHub, fetchpatch, libffi }:
let
inherit (lib) licenses;
@@ -194,6 +194,13 @@ rec {
sha256 = "1whqhikiq8dkv9nsilsibcy5qw0xydxh6ysz6mjkp7vh0hpirlzs";
};
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/appPlant/mruby-os/pull/1.patch";
+ sha256 = "06mnj2w2dj9l1l3fd09w1zkrdnxdgll8rjkd5hn3mz4vhc4qrx19";
+ })
+ ];
+
meta.license = licenses.mit;
};
