lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

libssh2: Don't use stdenv.cross

authored by

hsloan and committed by
John Ericson
9d567144 a850ddbe

+4 -2
+4 -2
pkgs/development/libraries/libssh2/default.nix
··· 1 - {stdenv, fetchurlBoot, openssl, zlib, windows}: 1 + { stdenv, fetchurlBoot, openssl, zlib, windows 2 + , hostPlatform 3 + }: 2 4 3 5 stdenv.mkDerivation rec { 4 6 name = "libssh2-1.8.0"; ··· 20 22 "--with-libz" 21 23 "--with-libz-prefix=${zlib.crossDrv}" 22 24 ]; 23 - } // stdenv.lib.optionalAttrs (stdenv.cross.libc == "msvcrt") { 25 + } // stdenv.lib.optionalAttrs (hostPlatform.libc == "msvcrt") { 24 26 # mingw needs import library of ws2_32 to build the shared library 25 27 preConfigure = '' 26 28 export LDFLAGS="-L${windows.mingw_w64}/lib $LDFLAGS"