Merge pull request #211475 from figsoda/texture

texture-synthesis: fix build on aarch64-darwin
This commit is contained in:
figsoda 2023-01-19 18:16:00 -05:00 committed by GitHub
commit 18fcb3156a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";