Skip to content

Commit

Permalink
perlPackages.TextBibTeX: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Aug 6, 2017
1 parent 7cc0ef8 commit e619ace
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/top-level/perl-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14183,12 +14183,13 @@ let self = _self // overrides; _self = with self; {
};

TextBibTeX = buildPerlModule rec {
name = "Text-BibTeX-0.72";
name = "Text-BibTeX-0.81";
buildInputs = [ ConfigAutoConf ExtUtilsLibBuilder ];
src = fetchurl {
url = "mirror://cpan/authors/id/A/AM/AMBS/${name}.tar.gz";
sha256 = "0vfnj9ygdjympc8hsf38nc4a1lq45qbq7v6z6mrnfgr3k198b6gw";
sha256 = "0dig1zlglm8rwm8fhnz087lx6gixj9jx10kxn1fx3swdkfblhsmf";
};
perlPreHook = "export LD=gcc";

This comment has been minimized.

Copy link
@Ericson2314

Ericson2314 Aug 15, 2017

Member

Please do export LD=$CC next time. This is brittle in principle, and would actually break Darwin (assuming it isn't broken there already).

CC @LnL7, perhaps I should add a manual paragraph on this?

This comment has been minimized.

Copy link
@domenkozar

domenkozar Aug 17, 2017

Member

I've been bitten by this as well, it needs documentation updates in the manual :)

This comment has been minimized.

Copy link
@gebner

gebner Aug 18, 2017

Author Member

Thanks for noticing this! It didn't work on Darwin anyhow because the ExtUtils-LibBuilder dependency already failed:

ld: unknown option: -mmacosx-version-min=10.10
error building /private/tmp/nix-build-perl-ExtUtils-LibBuilder-0.04.drv-0/YMSNtsQrFo/libfoo.dylib from /private/tmp/nix-build-perl-ExtUtils-LibBuilder-0.04.drv-0/YMSNtsQrFo/library.o at /nix/store/v5bb3hif28nvns63yq9xzgjfn0vwfcjm-perl-5.24.1/lib/perl5/5.24.1/ExtUtils/CBuilder/Base.pm line 321, <DATA> line 226.
meta = {
description = "Interface to read and parse BibTeX files";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
Expand Down

0 comments on commit e619ace

Please sign in to comment.