whereami: fix darwin dylib name
This commit is contained in:
parent
dd05e2a899
commit
fc6c2bb4d2
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fixDarwinDylibNames
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
libExt = stdenv.hostPlatform.extensions.sharedLibrary;
|
libExt = stdenv.hostPlatform.extensions.sharedLibrary;
|
||||||
|
@ -16,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "XhRqW0wdXzlmyBf1cjqtQvztuyV4buxVl19Q0uyEOhk=";
|
sha256 = "XhRqW0wdXzlmyBf1cjqtQvztuyV4buxVl19Q0uyEOhk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"-C_gnu-make"
|
"-C_gnu-make"
|
||||||
"build-library"
|
"build-library"
|
||||||
|
|
Loading…
Reference in a new issue