[Nix-dev] Re: A small glitch in linux-2.6.31.nix

pierre k.pierre.k at gmail.com
Thu Oct 22 19:54:39 CEST 2009


Hello,

I could have encountered another bug with 2.6.31: when setting
ttyBackgrounds.enable to true, nix suddenly fails with a horrible
error message (see below). This doesn't occur when using 2.6.28 or
setting ttyBackgrounds.enable to false.

With best regards,
  pierre

----

error: while instantiating the derivation named `system' at
`/etc/nixos/nixos/modules/system/activation/top-level.nix:95:9':
while evaluating the derivation attribute `buildCommand' at
`/etc/nixos/nixos/modules/system/activation/top-level.nix:96:17':
while evaluating the attribute `systemBuilder' at
`/etc/nixos/nixos/modules/system/activation/top-level.nix:49:16':
while evaluating the attribute `<let-body>' at
`/etc/nixos/nixos/modules/system/activation/top-level.nix:50: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:345:12':
while evaluating the derivation attribute `text' at
`/etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix:357: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:345: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:345: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:296:17':
while evaluating the attribute `value' at
`/etc/nixos/nixpkgs/pkgs/lib/modules.nix:263: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:268: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:261:23':
while evaluating the attribute `defs' at
`/etc/nixos/nixpkgs/pkgs/lib/modules.nix:259: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

---



More information about the nix-dev mailing list