[Nix-dev] another bug building findutils

Eelco Dolstra eelco at cs.uu.nl
Fri Aug 3 01:18:09 CEST 2007


Hi,

Erick Tryzelaar wrote:

> I'm trying to do a nixos-rebuild switch, but I keep getting this
> error. Looks like something's hardcoded to assume i686-linux, but I
> can't where it's specified. Here's the error:
> 
> building path(s) `/nix/store/7fxn03gqa6c79rbqf5rgccn6jfr06swz-findutils-4.2.30'
> a `i686-linux' is required to build
> `/nix/store/ldgr42p487h3519y83dcrwnnxc00awdv-findutils-4.2.30.drv',
> but I am a `x86_64-linux'
> cannot build derivation
> `/nix/store/7vjflcy7qiw8yn9pbkbpcs7pc9ma0j9l-stdenv-linux.drv': 1
> inputs could not be realised
> cannot build derivation
> `/nix/store/zdjs6vjgbpb8bn3qw3lrzcgydnjbsryj-grub-0.97.drv': 1 inputs
> could not be realised
> cannot build derivation
> `/nix/store/lf103mb0lmlc7g9nny7f2cbcg898bb82-system.drv': 1 inputs
> could not be realised
> error: build of `/nix/store/lf103mb0lmlc7g9nny7f2cbcg898bb82-system.drv' failed

In case other people run into this as well: it's caused by the fact that NixOS
on x86_64-linux has a dependency on an i686-linux package (Grub):

  https://bugs.cs.uu.nl/browse/NIXOS-46

The solution is to do a pull from the Nixpkgs channel so that Nix can download a
 pre-built 32-bit binary instead of building it (which it can't on a 64-bit
machine).  This can be done by doing "nix-channel --update".

-- 
Eelco Dolstra | http://www.cs.uu.nl/~eelco



More information about the nix-dev mailing list