[Nix-dev] getting started

Michael Raskin 7c6f434c at mail.ru
Mon Feb 23 10:50:37 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jörg F. Wittenberger wrote:
> The worst part seems to be: I can't find out, how to make those packages
> available, which are already installed on the system.  For instance, I
> have /nix/store/paiq*-gnome-panel.2.2.1/ on my system, but when I try to
> start gnome-panel on the command line the command is not found.

You have some choice.
Way 1: "nix-env -i gnomepanel" or something. That will build (and add to
the PATH) the program for the current user. As it is already built, it
will just register the program in profile.
Way 2: add the program to environment.extraPackages in configuration.nix

> Before I ran into these things (which my work around):
> 
> a) Don't know whether "root" is permitted to log into a X session.
> 
>    Question: when should I add the user?  Before the nixos-install ?  (I
> assume this would add the user to the source system, not the target.
> Hence I did not try that one.)

You could list the user in configuration.nix. Or you could manually add
the user after booting into your system.

> c) gnome-terminal dies, because it's called with a "-lt" argument, which
> it does not understand.
> 
>    Question: how do I find the call site?

When is it called in he first place?

> d) compiz - that's where I died off:
> 
> compiz (core) - Fatal: No GLXFBConfig for default depth, this isn't
> going to work.
> ...

It's a tricky thing. First name your actual video card vendor and
model.. I wouldn't try compiz until you get rid of VESA driver and get
3D acceleration in, say, xscreensaver.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJonFsAAoJEE6tnN0aWvw3f7QIAKb0ByFCQD0KXRxy7ieg85Ix
60RrADXIXP+kL7VMARwke7H2POeahPAAgEbqZ0q1AJ4LPYHsFb5H7wrMOXzNDMaU
eovWgqSjt3VF8UxbzynOkPjgzMFNPDSmbwX5n65wPFwDdXz8UHAJaf2Q29lcltq+
3fuQISKJMoMPH9k5MSHt0LdhlZvZzd3pTF2KRbbFaghTsQUHEBoBnkT1wxtUA0r0
Gb941esgI+qKJshGy7OxO1Elh0AfK7q5WHRaTxYZ/YgGaOegROwVZDE3yb8tdAGT
m8V6GanZ3yNWguUZo70cLXAJvLgArIGeR7s3NXCeUQIpdxONquOLohCwCl/tWQQ=
=GOu4
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list