Re: [Nix-dev] building live DVD?

2009-03-01 Thread Michael Raskin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix Breuer wrote: > $ xlaunch > Using :0 > egrep: /etc/event.d/xserver: No such file or directory > export _XARGS_=[snip] > /nix/store/[snip]-xorg-server-1.4.2/bin/X $_XARGS_ > > At that point xlaunch gets stuck and does not do anything anymore. Hm

Re: [Nix-dev] building live DVD?

2009-03-01 Thread Felix Breuer
Marc Weber wrote: On Sun, Mar 01, 2009 at 02:35:46PM +0100, Felix Breuer wrote: 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

Re: [Nix-dev] building live DVD?

2009-03-01 Thread Marc Weber
> :-) I'm glad you've asked. You're not alone: > http://article.gmane.org/gmane.linux.distributions.nixos/1002/match=newcomer > ( -> "Q: How to start Xorg ?") > > If you really want to start X from console manually you should have a > a look at xlaunch or use this script: > It extracts teh importa

Re: [Nix-dev] building live DVD?

2009-03-01 Thread Michael Raskin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc Weber wrote: > If you really want to start X from console manually you should have a > a look at xlaunch or use this script: > It extracts teh important information form the /etc/event.d/xserver file > and writes a launch script with the same setu

Re: [Nix-dev] building live DVD?

2009-03-01 Thread Marc Weber
On Sun, Mar 01, 2009 at 02:35:46PM +0100, Felix Breuer wrote: > 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 de

Re: [Nix-dev] building live DVD?

2009-03-01 Thread Felix Breuer
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/pri

Re: [Nix-dev] building live DVD?

2009-02-25 Thread Michael Raskin
-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/se

Re: [Nix-dev] building live DVD?

2009-02-25 Thread Felix Breuer
Marc Weber wrote: Hi Felix, 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 $ nix-build nixos/installer/cd-dvd/live-dvd.nix -A rescueCD error: attribute `rescueCD' in selection path

Re: [Nix-dev] building live DVD?

2009-02-25 Thread Michael Raskin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix Breuer wrote: > Now I would like to build a live DVD. Simply running > >> nix-build nixos/installer/cd-dvd/live-dvd-X.nix -A rescueCD Looks right. I committed some fixes. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment:

Re: [Nix-dev] building live DVD?

2009-02-25 Thread Marc Weber
Hi Felix, it looks like you've done the right things. You really should tell us about the failures. Maybe even show up on irc to speed up tracking down the error. I've only build a CD last week without problems. I haven't tried building a DVD yet. Sincerly Marc Weber

[Nix-dev] building live DVD?

2009-02-25 Thread Felix Breuer
Hi! I would like to build a live DVD of nixos. I followed the instructions in http://nixos.org/releases/nixos/unstable/manual/. With some minor modifications (see the attached svn diff), these instructions worked to produce a rescueCD. Now I would like to build a live DVD. Simply running nix-