perceptualdiff: fix darwin support (#121646)

This commit is contained in:
Uri Baghin
2021-05-05 22:36:08 -04:00
committed by GitHub
parent 1374bfa2d3
commit a4026fb952
4 changed files with 11 additions and 6 deletions
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, python3 }:
{ lib, stdenv, fetchFromGitHub, python3, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
pname = "jxrlib";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
--replace '.so' '.dylib'
'';
nativeBuildInputs = [ python3 ];
nativeBuildInputs = [ python3 ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
strictDeps = true;