[Nix-dev] no package attr_2.4.41-1

Marc Weber marco-oweber at gmx.de
Fri Apr 24 00:51:05 CEST 2009


On Thu, Apr 23, 2009 at 04:02:15PM -0400, Matthew Curry wrote:
> Hello all,
> 
> Came across nix, looked neat, so I decided to try it out.
Hi,

you're welcome. Consider joining irc as well.

Even though I don't knwo what attr does it seems to be a beatiful package because it even is used by coreutils:

%nix-store -q --tree /nix/store/d8imsim3zs87dskyvmgdd24dn9ak4nbp-coreutils-6.12
  /nix/store/d8imsim3zs87dskyvmgdd24dn9ak4nbp-coreutils-6.12
  +---/nix/store/a8922c0h87iilxzzvwn2hmv8x210aqb9-glibc-2.7
  |   [...]   
  +---/nix/store/42q3ghdl32bwi25spb9xi2y4l0l9ng9v-acl-2.2.47
  |   +---/nix/store/a8922c0h87iilxzzvwn2hmv8x210aqb9-glibc-2.7 [...]
  |   +---/nix/store/g3z60ik6aq1wipwmxz8rakb7almcfqdz-gcc-4.2.4
  |   |   [...]
  |   +---/nix/store/7f7pg231wm0aa1hlb096lxmqy23gci3x-attr-2.4.41
  |   |   +---/nix/store/a8922c0h87iilxzzvwn2hmv8x210aqb9-glibc-2.7 [...]
  |   |   +---/nix/store/g3z60ik6aq1wipwmxz8rakb7almcfqdz-gcc-4.2.4 [...]
  |   |   +---/nix/store/7f7pg231wm0aa1hlb096lxmqy23gci3x-attr-2.4.41 [...]
  [...]

So updating that means you won't be able to get any binaries unless the
buildfarm has rebuild them all because nearly all packages depend on
coreutils. Rebuilding all those packages would take some time.

So as temporary solution I've uploaded the file I had in my store to:
http://mawercer.de/~marc/87k9y0vbxcdzmsap123qwcphk1y9ljg3-attr_2.4.41-1.tar.gz

Open development/libraries/attr/default.nix of your nixpkgs repo
which can be found at /etc/nixos/nixpkgs on NixOS and replace that url.
If you're installing nixos using nixos-install (boot-cd) you may have to open
that script and remove the lines copying over the nixpkgs distribution onto 
/mnt/etc/nixos/nixpgks which would override your changes.
If you're only using nix you don't have to care about this.

Even the stdenv-updates branch doesn't contain that update yet which will be
merged soon. So thank you for reporting this. I think this update should go
into that branch before merging as well.

Sincerly
Marc Weber



More information about the nix-dev mailing list