mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
libpng: fix on mingw by disabling doCheck
This commit is contained in:
parent
49bec81730
commit
80509ab287
@ -26,7 +26,9 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = "export bin=$dev";
|
||||
|
||||
doCheck = true;
|
||||
# it's hard to cross-run tests and some check programs didn't compile anyway
|
||||
makeFlags = stdenv.lib.optional (!doCheck) "check_PROGRAMS=";
|
||||
doCheck = ! stdenv ? cross;
|
||||
|
||||
postInstall = ''mv "$out/bin" "$dev/bin"'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user