nixos-on-arm icon indicating copy to clipboard operation
nixos-on-arm copied to clipboard

Missing options error

Open DanLipsitt opened this issue 4 years ago • 2 comments

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)

DanLipsitt avatar Oct 06 '19 06:10 DanLipsitt

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 avatar Nov 11 '19 19:11 SlothOfAnarchy

@DanLipsitt see https://github.com/illegalprime/nixos-on-arm/pull/24

SlothOfAnarchy avatar Nov 17 '19 14:11 SlothOfAnarchy