texture-synthesis: fix build on aarch64-darwin

This commit is contained in:
figsoda 2023-01-18 18:15:47 -05:00
parent 1d72880e16
commit d25a152de8

View file

@ -1,4 +1,4 @@
{ fetchFromGitHub, lib, rustPlatform }:
{ lib, rustPlatform, fetchFromGitHub, stdenv }:
rustPlatform.buildRustPackage rec {
pname = "texture-synthesis";
@ -13,6 +13,9 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1xszis3ip1hymzbhdili2hvdwd862cycwvsxxyjqmz3g2rlg5b64";
# tests fail for unknown reasons on aarch64-darwin
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
meta = with lib; {
description = "Example-based texture synthesis written in Rust";
homepage = "https://github.com/embarkstudios/texture-synthesis";