hydra-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newer pkg-config


From: Glenn Morris
Subject: Re: newer pkg-config
Date: Sat, 17 May 2014 20:08:06 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Glenn Morris wrote:

> It seems the default pkg-config on hydra is 0.23, which is a bit old.
> Is it possible to get a newer version by using eg "pkgconfig-0.27.1"
> in release.nix rather than just "pkgconfig"?
>
> Or can the default version by updated?

The immediate need for this has gone away.
I'm still slightly interested in the answer, in case it comes up again.

It seems I could do something like:

pkgconfig = pkgs : with pkgs; lib.overrideDerivation pkgs.pkgconfig (args: { 
    name = "pkgconfig-0.28";
    src = fetchurl {
      url = http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz;
      sha256 = "xxx";
    };
  });

is that right?

I guess it caches it locally rather than downloading it every time?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]