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
co-authored by Sandro
parent 1a3557f729
commit fb063991b2
2 changed files with 9 additions and 2 deletions
@@ -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 = ''