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-----
Index: pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/default.nix
===================================================================
--- pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/default.nix (revision 14287)
+++ pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/default.nix (working copy)
@@ -9,7 +9,7 @@
src = fetchurl {
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
- sha256 = "cd3e8fbb05da4a5303f958cb627bc7f3845dd86576a96ab157effc4f0ae65e5d";
+ sha256 = "cd29f166c87fecc943e88fe951bb61c56728fab12b4bf343badafa73ea95394e";
};
inherit zlib alsaLib;
Index: installer/cd-dvd/live-dvd-X.nix
===================================================================
--- installer/cd-dvd/live-dvd-X.nix (revision 14287)
+++ installer/cd-dvd/live-dvd-X.nix (working copy)
@@ -44,7 +44,7 @@
arbitraryOverrides = config : config // {
services = config.services // {
gw6c = {
- enable = true;
+ enable = false;
autorun = false;
};
};
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev