[Nix-dev] building live DVD?

Felix Breuer felix at fbreuer.de
Thu Feb 26 00:41:03 CET 2009


Marc Weber wrote:
> Hi Felix,
>
> 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

$ nix-build nixos/installer/cd-dvd/live-dvd.nix -A rescueCD
error: attribute `rescueCD' in selection path `rescueCD' not found


and

$ nix-build nixos/installer/cd-dvd/live-dvd.nix
error: while instantiating the derivation named `iso9660-image' at 
`/home/felix/nix/nixos/helpers/make-iso9660-image.nix', line 38:
while evaluating the derivation attribute `sources' at 
`/home/felix/nix/nixos/helpers/make-iso9660-image.nix', line 45:
while evaluating the function at 
`/home/felix/nix/nixos/helpers/make-iso9660-image.nix', line 45:
while evaluating the attribute `source' at 
`/home/felix/nix/nixos/installer/cd-dvd/rescue-cd-configurable.nix', 
line 447:
while evaluating the attribute `nixosServicesTarball' at 
`/home/felix/nix/nixos/installer/cd-dvd/rescue-cd-configurable.nix', 
line 393:
while evaluating the function at 
`/home/felix/nix/nixos/installer/cd-dvd/rescue-cd-configurable.nix', 
line 368:
in a string concatenation:
while instantiating the derivation named `tarball-nixpkgs' at 
`/home/felix/nix/nixpkgs/pkgs/top-level/all-packages.nix', line 325:
while evaluating the derivation attribute `buildCommand' at 
`/home/felix/nix/nixpkgs/pkgs/top-level/all-packages.nix', line 325:
in a string concatenation:
in a string concatenation:
getting attributes of path `/home/felix/nix/services': No such file or 
directory


Trying to build any variant of the live-DVD yields similar results. Note 
that building the rescueCD worked just fine. One further example:

nix-build nixos/installer/cd-dvd/live-dvd-X.nix
error: while instantiating the derivation named `iso9660-image' at 
`/home/felix/nix/nixos/helpers/make-iso9660-image.nix', line 38:
while evaluating the derivation attribute `exportBuildReferencesGraph' 
at `/home/felix/nix/nixos/helpers/make-iso9660-image.nix', line 55:
while evaluating the attribute `object' at 
`/home/felix/nix/nixos/installer/cd-dvd/rescue-cd-configurable.nix', 
line 116:
while evaluating the attribute `drvPath' at undefined position:
while instantiating the derivation named `system' at 
`/home/felix/nix/nixos/system/system.nix', line 378:
while evaluating the derivation attribute `etc' at 
`/home/felix/nix/nixos/system/system.nix', line 388:
while instantiating the derivation named `etc' at 
`/home/felix/nix/nixos/helpers/make-etc.nix', line 4:
while evaluating the derivation attribute `sources' at 
`/home/felix/nix/nixos/helpers/make-etc.nix', line 9:
while evaluating the function at 
`/home/felix/nix/nixos/helpers/make-etc.nix', line 9:
while evaluating the attribute `source' at 
`/home/felix/nix/nixos/etc/default.nix', line 77:
in a string concatenation:
while instantiating the derivation named `upstart-jobs' at 
`/home/felix/nix/nixpkgs/pkgs/top-level/all-packages.nix', line 325:
while evaluating the derivation attribute `jobs' at 
`/home/felix/nix/nixos/upstart-jobs/gather.nix', line 5:
while instantiating the derivation named `upstart-gw6c' at 
`/home/felix/nix/nixpkgs/pkgs/top-level/all-packages.nix', line 325:
while evaluating the derivation attribute `job' at 
`/home/felix/nix/nixos/upstart-jobs/make-job.nix', line 9:
while evaluating the attribute `job' at 
`/home/felix/nix/nixos/upstart-jobs/gw6c.nix', line 24:
in a string concatenation:
while evaluating the attribute `gw6cService' at 
`/home/felix/nix/nixos/upstart-jobs/gw6c.nix', line 5:
getting status of `/home/felix/nix/nixos/services/gw6c': No such file or 
directory


Thanks,
Felix



More information about the nix-dev mailing list