[Nix-dev] building live DVD?

Felix Breuer felix at fbreuer.de
Sun Mar 1 14:35:46 CET 2009


Okay, with the help of Michael and Marc, I was able to get live-dvd.nix 
to build. The next step was to try live-dvd-X.nix. Here I needed to fix 
two things:

1) Disable gw6c service. Otherwise building fails as the gw6c derivation 
complains that the paths
>       private = "/var/elliptic-keys/private";
>       public = /var/elliptic-keys/private;
are missing. Which of course they are, as gw6c does not run on my build 
system.

2) Update SHA256 sum of flashplayer 10. The tarball distributed by Adobe 
seems to have changed.

Diffs of these two changes are attached. After these two changes, I 
could build live-dvd-X.nix sucessfully.



Now I would like to run X from withing the live DVD. This I did not 
manage yet. I guess because I do not comprehend nix yet. I booted nixos 
successfully inside VirtualBox, selecting Rescue X with vesa at the grub 
prompt. The system started just fine and I could login as root.

After that, I tried something as naive as "startx" resulting in "command 
not found".

My second attempt was

$ nix-env -i xorg-server

which failed with a long backtrace the crucial line of which is

getting status of: '/etc/nixos/configuration.nix': No such file or 
directory.


Now I am, again, at a loss. Any pointers?


Thanks,
Felix


Michael Raskin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Felix Breuer wrote:
>   
>>> it looks like you've done the right things.
>>> You really should tell us about the failures.
>>>   
>>>       
>> I just updated both the nixos and the nixpkgs trees. Then I tried
>>     
>
> Checkout services/ too (to the same dir). Symlink nixos/services ->
> ../services. I hope nixos/pkgs -> ../nixpkgs/pkgs is already there..
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQEcBAEBAgAGBQJJph/eAAoJEE6tnN0aWvw30JMIAIDUbV/mjakPQsD41DNpio0L
> 90xqRFKPbKRN3y5GPHgteDPfiyc7jA5sNE9XAh6A9XZBB7Csez1L27lObAqkiRuS
> BX9bgkd9prGsXZuBSva6/xILfqipVGfct/yLYG70UD8sUMleZ6ER7SpkTrSi7B0e
> VpqdXA+uod+aXOAeKLxbnOzQWLvfXoT6iwne3jJdX3itZPsGldnETQgrDXQf9+M0
> aagYdMrG35ePL0lQb8mPgBEbIrxNr/213QJML4kMfMl69dmzAr3cReklxnUjCTpd
> BEjdQ/u0axWirHuczrNKwHT3Y6FAth1tPQfrq+9qKEIzJfXEHyldMBvejyJrKps=
> =qazF
> -----END PGP SIGNATURE-----
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: update-flashplayer-sha256.diff
Type: text/x-patch
Size: 701 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20090301/96de012b/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gw6c-disable.diff
Type: text/x-patch
Size: 397 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20090301/96de012b/attachment-0001.bin 


More information about the nix-dev mailing list