Skip to content

Instantly share code, notes, and snippets.

@domenkozar
Created October 26, 2015 11:11
Show Gist options
  • Select an option

  • Save domenkozar/b9dce2be440e7eb1601c to your computer and use it in GitHub Desktop.

Select an option

Save domenkozar/b9dce2be440e7eb1601c to your computer and use it in GitHub Desktop.
$ NIXOS_CONFIG=`pwd`/nixos/modules/virtualisation/virtualbox-image.nix nix-build '<nixpkgs/nixos>' config.system.build.virtualBoxImage
these derivations will be built:
/nix/store/cbkvbfaf87c35rl153v9dni8ismvvynv-nixos-boot-disk.drv
/nix/store/8yb5z43bi4r0wimkq27qi3jq7ibxp7rh-run-nixos-vm.drv
/nix/store/ynk1nfbvqhc0fwnchnx86pgf4gjf1i55-nixos-vm.drv
building path(s) ‘/nix/store/kq1rcyx1lh21nxmsm9rpbis3b4i7j7jv-nixos-boot-disk’
Formatting '/nix/store/kq1rcyx1lh21nxmsm9rpbis3b4i7j7jv-nixos-boot-disk/disk.img', fmt=qcow2 size=41943040 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
QEMU 2.4.0 monitor - type 'help' for more information
(qemu) char device redirected to /dev/pts/0 (label serial0)
builder for ‘/nix/store/cbkvbfaf87c35rl153v9dni8ismvvynv-nixos-boot-disk.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/8yb5z43bi4r0wimkq27qi3jq7ibxp7rh-run-nixos-vm.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/ynk1nfbvqhc0fwnchnx86pgf4gjf1i55-nixos-vm.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/ynk1nfbvqhc0fwnchnx86pgf4gjf1i55-nixos-vm.drv’ failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment