[Nix-dev] cannot build a new CD on 32 bits NixOS

Paul Dufresne dufresnep at gmail.com
Tue Mar 4 09:13:56 CET 2014


I am trying to follow instructions on:
https://nixos.org/wiki/Creating_a_Nix_OS_live_CD

So this is on a freshly cloned Nixpkgs from your project.

I have added pkgs.rpPPPoE and pkgs.wvdial to .../modules/profiles/base.nis.

Then:
$ nix-build -A iso_graphical $NIXREPOS/nixos/release.nix

Resulted in:
...

fetching path `/nix/store/8h8mravvbcm09rhybxq7hi4459lkssg8-stdenv'...

*** Downloading
‘http://cache.nixos.org/nar/1l7inppqw13wb5b7ir21v7ivnvlcdsb4mpikx8k36iyf0wzxysgr.nar.xz’
to ‘/nix/store/8h8mravvbcm09rhybxq7hi4459lkssg8-stdenv’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7980  100  7980    0     0  52166      0 --:--:-- --:--:-- --:--:-- 54657

fetching path `/nix/store/45zqdclcxh32srikgcmmrhzrxlxq60rm-stdenv'...

*** Downloading
‘http://cache.nixos.org/nar/0djmd44hznrahc5caz7rj07gqqh4jz8266vlyrdy68qpr0irjdgv.nar.xz’
to ‘/nix/store/45zqdclcxh32srikgcmmrhzrxlxq60rm-stdenv’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7980  100  7980    0     0  50531      0 --:--:-- --:--:-- --:--:-- 53557

building path(s) `/nix/store/2bx1mnzpvmkdip6vhbwk2w6h9ybff5v7-empty'
error: a `x86_64-linux' is required to build
`/nix/store/yw81fs9q3kgqlk1xx2d3mpmrv2xr1hkc-empty.drv', but I am a
`i686-linux'

I was not aware of this limitation.
Also more over frustrating that this problem occur while building an
*EMPTY* driver.

Is it a real limitation of NixOS... or a transient problem with empty.drv?


More information about the nix-dev mailing list