[Nix-dev] 2.6.31 kernel

roconnor at theorem.ca roconnor at theorem.ca
Fri Nov 6 04:44:31 CET 2009


I get a nix-expression error when trying reconfigure nixos to use the 
2.6.31 kernel:

boot.kernelPackages = pkgs.kernelPackages_2_6_31


Below is my trace

# nixos-rebuild boot --show-trace 
obtaining 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
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 
2613 store paths in manifest 
store derivation is /nix/store/7wkfj02cmdd8n2wakgw27lkj0si6m4bj-nix-0.13pre17922.drv 
/nix/store/awgl9wdh7cyvhdyyv7682ks1k5q6s8wc-nix-0.13pre17922 
error: while instantiating the derivation named `system' at `/etc/nixos/nixos/modules/system/activation/top-level.nix:103:9':
while evaluating the derivation attribute `buildCommand' at `/etc/nixos/nixos/modules/system/activation/top-level.nix:104:17':
while evaluating the attribute `systemBuilder' at `/etc/nixos/nixos/modules/system/activation/top-level.nix:57:16': 
while evaluating the attribute `<let-body>' at `/etc/nixos/nixos/modules/system/activation/top-level.nix:58:8': 
in a string concatenation: 
while instantiating the derivation named `stage-2-init.sh' at `/etc/nixos/nixpkgs/pkgs/build-support/substitute/substitute-all.nix:6:7':
while evaluating the derivation attribute `activateConfiguration' at `/etc/nixos/nixos/modules/system/boot/stage-2.nix:34:12': 
while instantiating the derivation named `nixos-activation-script' at `/etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix:346:12': 
while evaluating the derivation attribute `text' at `/etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix:358:29': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings-with-deps.nix:69:40': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:32:37': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:33': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:33': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:33': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:33': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:33': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:33': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:33': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:33': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/strings.nix:14:33': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/trivial.nix:4:9': 
while evaluating the attribute `text' at `/etc/nixos/nixos/modules/system/activation/activation-script.nix:11:11': 
in a string concatenation: 
while evaluating the attribute `text' at `/etc/nixos/nixpkgs/pkgs/lib/strings-with-deps.nix:73:38': 
in a string concatenation: 
while instantiating the derivation named `etc' at `/etc/nixos/nixos/modules/system/etc/etc.nix:40:9': 
while evaluating the derivation attribute `sources' at `/etc/nixos/nixos/modules/system/etc/etc.nix:45:12': 
while evaluating the function at `/etc/nixos/nixos/modules/system/etc/etc.nix:45:21': 
while evaluating the attribute `source' at `/etc/nixos/nixos/modules/system/upstart/upstart.nix:280:17': 
in a string concatenation: 
while instantiating the derivation named `upstart-jobs' at `/etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix:346:12': 
while evaluating the derivation attribute `jobs' at `/etc/nixos/nixos/modules/system/upstart/upstart.nix:82:52': 
while instantiating the derivation named `upstart-tty-backgrounds' at `/etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix:346:12': 
while evaluating the derivation attribute `jobText' at `/etc/nixos/nixos/modules/system/upstart/upstart.nix:69:43': 
while evaluating the attribute `jobText' at `/etc/nixos/nixos/modules/system/upstart/upstart.nix:12:14': 
in a string concatenation: 
while evaluating the attribute `preStart' at undefined position: 
while evaluating the attribute `value' at `/etc/nixos/nixpkgs/pkgs/lib/attrsets.nix:105:41': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/modules.nix:190:44': 
while evaluating the attribute `result' at `/etc/nixos/nixpkgs/pkgs/lib/modules.nix:302:17': 
while evaluating the attribute `value' at `/etc/nixos/nixpkgs/pkgs/lib/modules.nix:269:16':

while evaluating the option 'jobs.ttyBackgrounds.preStart'.
The error may come from the following files: 
/etc/nixos/nixos/modules/system/upstart/upstart.nix 
<unknown location>

while evaluating the attribute `<let-body>' at `/etc/nixos/nixpkgs/pkgs/lib/modules.nix:274:18':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/trivial.nix:4:9': 
while evaluating the attribute `isNotDefined' at `/etc/nixos/nixpkgs/pkgs/lib/modules.nix:267:23':
while evaluating the attribute `defs' at `/etc/nixos/nixpkgs/pkgs/lib/modules.nix:265:15': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/modules.nix:120:32': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:124:27': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:50:22': 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23': 
while evaluating properties. 
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:152:40': 
while evaluating the attribute `<let-body>' at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:153:8':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23':
while evaluating the attribute `globalEvalFuns' at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:154:21':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/misc.nix:176:18':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:134:32':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:50:22':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:17:23':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/lists.nix:51:15':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:135:14':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:20:19':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/types.nix:13:13':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/types.nix:12:14':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:141:30':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:48:32':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/properties.nix:35:21':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/types.nix:13:13':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/types.nix:12:14':
while evaluating the function at `/etc/nixos/nixpkgs/pkgs/lib/attrsets.nix:38:17':
while evaluating the attribute `preStart' at `/etc/nixos/nixos/modules/tasks/tty-backgrounds.nix:110:17':
in a string concatenation:
value is null while an attribute set was expected

-- 
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''



More information about the nix-dev mailing list