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

2014-03-04 Thread Paul Dufresne
Thanks! I was able to build a new iso file with rpPPPoE and wvdial.
I did not test wvdial.
PPPoE does not seems to work. And it is a bit hard to say exactly why.
No clear messages in journalctl -r.

I thought I was using directly the same rpPPPoE in Arch Linux but Arch
Linux now use netctl:
https://wiki.archlinux.org/index.php/netctl
which seems to be mostly some bash scripts to easily allow to
configure different kind of network 'profiles' with systemd:
https://projects.archlinux.org/netctl.git/tree/
Unclear to me if this kind of project is usefull to NixOS.

Also, pppoe-discovery is there under Arch Linux... but not in NixOS
(maybe a different version... did not investigate).
I would probably could test if at least it worked a bit with:
#pppoe-discovery -I enp0s7
but could not because it is not there.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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

2014-03-04 Thread Vladimír Čunát

On 03/04/2014 09:13 AM, Paul Dufresne wrote:

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?


The reason is that iso_graphical contains ISOs for both 32 and 64-bit, 
and you can't directly build 64-bit stuff on 32-bit machine.



$ nix-build -A iso_graphical.i686-linux


Vlada




smime.p7s
Description: S/MIME Cryptographic Signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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

2014-03-04 Thread Rob Vermaas
Hi Paul,

try:
$ nix-build -A iso_graphical.i686-linux

Cheers,
Rob


On Tue, Mar 4, 2014 at 10:35 AM, Paul Dufresne  wrote:

> Trying to investigate a bit more:
>
> [demo@nixos:~/paulnixos/pkgs]$ cat
> /nix/store/yw81fs9q3kgqlk1xx2d3mpmrv2xr1hkc-empty.drv
>
> Derive([("out","/nix/store/2bx1mnzpvmkdip6vhbwk2w6h9ybff5v7-empty","","")],[("/nix/store/3prbp8w4aj0sb5fjbwykphqx79fiw2a8-bash-4.2-p45.drv",["out"]),("/nix/store/rdc4zsbqnv79cmdd9pzk12j3cflmsbs8-stdenv.drv",["out"])],["/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],"x86_64-linux","/nix/store/qw7vn33jcv1yfsfdw19ic5r2jlqk68w3-bash-4.2-p45/bin/bash",["-e","/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],[("buildCommand","mkdir
> -p
> $out"),("buildInputs",""),("builder","/nix/store/qw7vn33jcv1yfsfdw19ic5r2jlqk68w3-bash-4.2-p45/bin/bash"),("name","empty"),("nativeBuildInputs",""),("out","/nix/store/2bx1mnzpvmkdip6vhbwk2w6h9ybff5v7-empty"),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("stdenv","/nix/store/8h8mravvbcm09rhybxq7hi4459lkssg8-stdenv"),("system","x86_64-linux"),("userHook","")])
> [demo@nixos:~/paulnixos/pkgs]$
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
Rob Vermaas

[email] rob.verm...@gmail.com
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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

2014-03-04 Thread Paul Dufresne
Trying to investigate a bit more:

[demo@nixos:~/paulnixos/pkgs]$ cat
/nix/store/yw81fs9q3kgqlk1xx2d3mpmrv2xr1hkc-empty.drv
Derive([("out","/nix/store/2bx1mnzpvmkdip6vhbwk2w6h9ybff5v7-empty","","")],[("/nix/store/3prbp8w4aj0sb5fjbwykphqx79fiw2a8-bash-4.2-p45.drv",["out"]),("/nix/store/rdc4zsbqnv79cmdd9pzk12j3cflmsbs8-stdenv.drv",["out"])],["/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],"x86_64-linux","/nix/store/qw7vn33jcv1yfsfdw19ic5r2jlqk68w3-bash-4.2-p45/bin/bash",["-e","/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],[("buildCommand","mkdir
-p 
$out"),("buildInputs",""),("builder","/nix/store/qw7vn33jcv1yfsfdw19ic5r2jlqk68w3-bash-4.2-p45/bin/bash"),("name","empty"),("nativeBuildInputs",""),("out","/nix/store/2bx1mnzpvmkdip6vhbwk2w6h9ybff5v7-empty"),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("stdenv","/nix/store/8h8mravvbcm09rhybxq7hi4459lkssg8-stdenv"),("system","x86_64-linux"),("userHook","")])
[demo@nixos:~/paulnixos/pkgs]$
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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

2014-03-04 Thread Paul Dufresne
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   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100  7980  100  79800 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   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100  7980  100  79800 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?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev