Skip to content

Instantly share code, notes, and snippets.

@exarkun

exarkun/output Secret

Last active April 9, 2019 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/fc0bbcfd926dff47203edfc58185a6f4 to your computer and use it in GitHub Desktop.
Save exarkun/fc0bbcfd926dff47203edfc58185a6f4 to your computer and use it in GitHub Desktop.
error: The option value `environment.systemPackages.[definition 2-entry 1]' in `.../sd-image.nix' is not of type `package'.
# Cribbed from https://nixos.wiki/wiki/NixOS_on_ARM#Build_your_own_image
# On an Aarch64-capable system, build with:
# $ nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./sd-image.nix
{ pkgs, unzip, mock, ... }: {
imports = [
<nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix>
];
environment.systemPackages = [
pkgs.tahoe-lafs.overrideAttrs (old: {
buildInputs = [ unzip mock ];
})
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment