-
-
Save exarkun/fc0bbcfd926dff47203edfc58185a6f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: The option value `environment.systemPackages.[definition 2-entry 1]' in `.../sd-image.nix' is not of type `package'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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