fractal-latest: support cross compilation (this method takes about 60minutes. 45m for deps and 15m for fractal itself)
This commit is contained in:
parent
38fa73cfb7
commit
5b8850404b
|
@ -534,6 +534,13 @@ in {
|
||||||
# # seems to hang when compiling fractal
|
# # seems to hang when compiling fractal
|
||||||
# inherit (emulated) cargo meson rustc rustPlatform stdenv;
|
# inherit (emulated) cargo meson rustc rustPlatform stdenv;
|
||||||
# };
|
# };
|
||||||
|
fractal-latest = prev.fractal-latest.override {
|
||||||
|
# fixes "cargo:warning=aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-m64’"
|
||||||
|
# seems to hang when compiling fractal
|
||||||
|
fractal-next = final.fractal-next.override {
|
||||||
|
inherit (emulated) cargo meson rustc rustPlatform stdenv;
|
||||||
|
};
|
||||||
|
};
|
||||||
# fractal-next = prev.fractal-next.overrideAttrs (upstream: {
|
# fractal-next = prev.fractal-next.overrideAttrs (upstream: {
|
||||||
# env = let
|
# env = let
|
||||||
# inherit (final) buildPackages stdenv rust;
|
# inherit (final) buildPackages stdenv rust;
|
||||||
|
|
|
@ -40,6 +40,7 @@ let
|
||||||
# 3. add "<crate_thats_missing_hash>" = "";
|
# 3. add "<crate_thats_missing_hash>" = "";
|
||||||
# 4. repeat until no more crates are missing hashes
|
# 4. repeat until no more crates are missing hashes
|
||||||
# 5. build, and nix will let you know what the actual hashes should be
|
# 5. build, and nix will let you know what the actual hashes should be
|
||||||
|
# TODO: alternative is to set `allowBuiltinFetchGit = true;`
|
||||||
"curve25519-dalek-4.0.0" = "sha256-sxEFR6lsX7t4u/fhWd6wFMYETI2egPUbjMeBWkB289E=";
|
"curve25519-dalek-4.0.0" = "sha256-sxEFR6lsX7t4u/fhWd6wFMYETI2egPUbjMeBWkB289E=";
|
||||||
"matrix-sdk-0.6.2" = "sha256-A1oKNbEx2A6WwvYcNSW53Fd6QWwr0QFJtrsJXO2KInE=";
|
"matrix-sdk-0.6.2" = "sha256-A1oKNbEx2A6WwvYcNSW53Fd6QWwr0QFJtrsJXO2KInE=";
|
||||||
"ruma-0.8.2" = "sha256-kCGS7ACFGgmtTUElLJQMYfjwJ3glF7bRPZYJIFcuPtc=";
|
"ruma-0.8.2" = "sha256-kCGS7ACFGgmtTUElLJQMYfjwJ3glF7bRPZYJIFcuPtc=";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user