git.iko.soy/typeable/nixpkgs
on master help sign in
autogen: try fixing on darwin

and cause no rebuild elsewhere. In commit 2988780 I forgot that patchelf makes no sense there.

commite1b93806ba17694f8891577b98e09eab92cd026d authorVladimír Čunát <v@cunat.cz> dateSun 14 Jun 2020, 09:11 (6 years ago) parent0697ad3
1 file changed+2−1
pkgs/development/tools/misc/autogen/default.nix+2−1
pkgs/development/tools/misc/autogen/default.nix+2−1
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 outputs = [ "bin" "dev" "lib" "out" "man" "info" ];
3434
3535 nativeBuildInputs = [
36− which pkgconfig perl autoreconfHook/*patches applied*/
36+ which pkgconfig perl autoreconfHook/*patches applied*/
3737 ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
3838 # autogen needs a build autogen when cross-compiling
3939 buildPackages.buildPackages.autogen buildPackages.texinfo
@@ -62,6 +62,7 @@ stdenv.mkDerivation rec {
6262 sed -e "s|$lib/lib|/no-such-autogen-lib-path|" -i $f
6363 done
6464
65+ '' + stdenv.lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
6566 # remove /build/** from RPATHs
6667 for f in "$bin"/bin/*; do
6768 local nrp="$(patchelf --print-rpath "$f" | sed -E 's@(:|^)/build/[^:]*:@\1@g')"