[Nix-dev] gnome does not build and kde4 blank screen

j.s.m at online.de j.s.m at online.de
Mon Sep 5 21:24:23 CEST 2011


An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110905/5ca372ec/attachment.html 
-------------- next part --------------

Hello, 

after installing nixos-graphical-0.1pre28113-x86_64-linux.iso on fujitui lifebook 
i was not able to use kde4 desktopManager and could not build gnome environment.
xterm (default), and xfce desktopManager did worked OK.

for kde4 i got the screen with the harddisk and then the scren went blank and stayed that way.

output fom lspcigrep VGA
0:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)


 services.xserver = {
 videoDriver = "intel";
 exportConfiguration = true;
 enable = true;
 defaultDepth = 24;
 desktopManager.kde4.enable = true;
 layout = "de";
 xkbOptions = "eurosign:e";
 };

for gnome nixos-rebuild boot terminated with an error 
[root at nixos:~]# nixos-rebuild --show-trace boot
fetching list of Nix archives at `http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/MANIFEST.bz2'...
 % Total % Received % Xferd Average Speed Time Time Time Current
 Dload Upload Total Spent Left Speed
100 14.6M 100 14.6M 0 0 1510k 0 0:00:09 0:00:09 --:--:-- 1577k
44478 store paths in manifest
building Nix...
building the system configuration...
error: while evaluating the builtin function `derivationStrict':
while instantiating the derivation named `system' at `/etc/nixos/nixos/modules/system/activation/top-level.nix:146:5':
while evaluating the derivation attribute `buildCommand' at `/etc/nixos/nixos/modules/system/activation/top-level.nix:147:5':
while evaluating the builtin function `derivationStrict':
while instantiating the derivation named `etc' at `/etc/nixos/nixos/modules/system/etc/etc.nix:29:5':
while evaluating the derivation attribute `sources' at `/etc/nixos/nixos/modules/system/etc/etc.nix:34:5':
while evaluating the builtin function `derivationStrict':
while instantiating the derivation named `upstart-xserver.conf' at `/etc/nixos/nixpkgs/pkgs/build-support/trivial-builders.nix:10:14':
while evaluating the derivation attribute `jobText' at `/etc/nixos/nixos/modules/system/upstart/upstart.nix:113:43':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:18:25':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:19':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:32':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:19':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:32':
while evaluating the builtin function `head':
while evaluating the function at `/etc/nixos/nixos/modules/system/upstart/upstart.nix:46:31':
while evaluating the builtin function `derivationStrict':
while instantiating the derivation named `slim.cfg' at `/etc/nixos/nixpkgs/pkgs/build-support/trivial-builders.nix:10:14':
while evaluating the derivation attribute `text' at `/etc/nixos/nixpkgs/pkgs/build-support/trivial-builders.nix:21:29':
while evaluating the builtin function `derivationStrict':
while instantiating the derivation named `xsession' at `/etc/nixos/nixpkgs/pkgs/build-support/trivial-builders.nix:10:14':
while evaluating the derivation attribute `text' at `/etc/nixos/nixpkgs/pkgs/build-support/trivial-builders.nix:21:29':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:18:25':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:19':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:32':
while evaluating the builtin function `head':
while evaluating the function at `/etc/nixos/nixos/modules/services/x11/display-managers/default.nix:111:29':
while evaluating the attribute `start' at `/etc/nixos/nixos/modules/services/x11/desktop-managers/default.nix:41:13':
while evaluating the attribute `start' at `/etc/nixos/nixos/modules/services/x11/desktop-managers/gnome.nix:30:11':
attribute `gnometerminal' mito

One other problem i had during the installation was an inability to install grub in the partion, 

i hacked switch-to-configuration inserting --force flag for grub-install so that it finaly did install itself on a partion.
I could helpful if there were an option for the configuration to pass this flag properly.


Finaly to get productive quickly, could someone send me a configuration file which achies the following:

most products are defined for all users and automaticaly updated (i.e as system packages ? )

I coulld defined profiles with different versions of say haskell, java, ruby etc for different users 
so that if i want to work with certain versions of the products i logged as user-version-this-and-that 
or is a better way to do it

Thank very much

Jerzy














More information about the nix-dev mailing list