macdylibbundler: Should propagate dependency on otool (#103163)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Joachim Breitner 2020-12-01 19:11:45 +01:00 committed by GitHub
parent 1a3557f729
commit fb063991b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, makeWrapper, fetchFromGitHub, cctools }:
stdenv.mkDerivation {
pname = "macdylibbundler";
@ -11,8 +11,15 @@ stdenv.mkDerivation {
sha256 = "149p3dcnap4hs3nhq5rfvr3m70rrb5hbr5xkj1h0gsfp0d7gvxnj";
};
buildInputs = [ makeWrapper ];
makeFlags = [ "PREFIX=$(out)" ];
postInstall = ''
wrapProgram $out/bin/dylibbundler \
--prefix PATH ":" "${cctools}/bin"
'';
meta = with stdenv.lib; {
description = "Utility to ease bundling libraries into executables for OSX";
longDescription = ''

View File

@ -22390,7 +22390,7 @@ in
mac = callPackage ../development/libraries/mac { };
macdylibbundler = callPackage ../development/tools/misc/macdylibbundler { };
macdylibbundler = callPackage ../development/tools/misc/macdylibbundler { inherit (darwin) cctools; };
magic-wormhole = with python3Packages; toPythonApplication magic-wormhole;