treewide: move fixDarwinDylibNames to nativeBuildInputs
This hook runs at build time and depends on executing install_name_tool from binutils.
This commit is contained in:
@@ -17,7 +17,8 @@ in mkDerivation {
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = [ fixDarwinDylibNames autoPatchelfHook ];
|
||||
nativeBuildInputs = [ autoPatchelfHook ]
|
||||
++ lib.optional hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxml2 stdenv.cc.cc ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user