Missing options error
DanLipsitt opened this issue · 2 comments
DanLipsitt commented
I'm new to Nix so forgive me if I'm missing something obvious, but I get the following errors on both MacOS and NixOS running in VirtualBox:
$ nix build -f . -I nixpkgs=nixpkgs -I machine=machines/beaglebone -I image=images/mini
error: The option `documentation' defined in `/vagrant/images/mini' does not exist.
(use '--show-trace' to show detailed location information)
$ nix build -f . -I nixpkgs=nixpkgs -I machine=machines/beaglebone -I image=images/base
error: The option `boot.loader.generic-extlinux-compatible.dtbs' defined in `/vagrant/machines/beaglebone' does not exist.
(use '--show-trace' to show detailed location information)
SlothOfAnarchy commented
I got the same error, I think the option got moved or renamed and now has to be set in nixpkgs.crossSystem.dtb
(a string instead of a list), like it has been done in https://github.com/illegalprime/nixos-on-arm/blob/master/machines/toradex_apalis_imx6/system.nix#L21
I'm not 100% sure though, because I still have other errors.
SlothOfAnarchy commented
@DanLipsitt see #24