diff --git a/overlays/cross.nix b/overlays/cross.nix index 052ff47c..d798a9bb 100644 --- a/overlays/cross.nix +++ b/overlays/cross.nix @@ -534,6 +534,13 @@ in { # # seems to hang when compiling fractal # 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: { # env = let # inherit (final) buildPackages stdenv rust; diff --git a/pkgs/additional/fractal-latest/default.nix b/pkgs/additional/fractal-latest/default.nix index 96d1da2a..d2d6a5e6 100644 --- a/pkgs/additional/fractal-latest/default.nix +++ b/pkgs/additional/fractal-latest/default.nix @@ -40,6 +40,7 @@ let # 3. add "" = ""; # 4. repeat until no more crates are missing hashes # 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="; "matrix-sdk-0.6.2" = "sha256-A1oKNbEx2A6WwvYcNSW53Fd6QWwr0QFJtrsJXO2KInE="; "ruma-0.8.2" = "sha256-kCGS7ACFGgmtTUElLJQMYfjwJ3glF7bRPZYJIFcuPtc=";