Skip to content

Instantly share code, notes, and snippets.

@andoriyu
Created March 3, 2021 20:02
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 andoriyu/dc2d096b8d905075136d6e99a2035e90 to your computer and use it in GitHub Desktop.
Save andoriyu/dc2d096b8d905075136d6e99a2035e90 to your computer and use it in GitHub Desktop.
❯ nix build -f . -I nixpkgs=nixpkgs -I machine=machines/raspberrypi-zerow -I image=images/rpi0-otg-serial --show-trace
error: while evaluating the attribute 'buildCommand' of the derivation 'nixos-on-rpi0-21.05pre-git-armv6l-linux.img-armv6l-unknown-linux-gnueabihf' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:198:11:
while evaluating the attribute 'buildCommand' of the derivation 'ext4-fs.img.zst-armv6l-unknown-linux-gnueabihf' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:198:11:
while evaluating the attribute 'sdImage.populateRootCommands' at undefined position:
while evaluating 'g' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/attrsets.nix:294:19, called from undefined position:
while evaluating anonymous function at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:139:72, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/attrsets.nix:297:20:
while evaluating the attribute 'value' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:512:9:
while evaluating the option `sdImage.populateRootCommands':
while evaluating the attribute 'mergedValue' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:544:5:
while evaluating the attribute 'values' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:538:9:
while evaluating the attribute 'values' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:637:7:
while evaluating anonymous function at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:524:28, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:524:17:
while evaluating definitions from `/home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix':
while evaluating 'dischargeProperties' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:596:25, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:525:137:
while evaluating the attribute 'value' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:379:44:
while evaluating the attribute 'activationScript' of the derivation 'nixos-system-nixos-on-rpi0-21.05pre-git' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/nixos/modules/system/activation/top-level.nix:95:5:
while evaluating the attribute 'system.activationScripts.script' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/nixos/modules/system/activation/activation-script.nix:80:9:
while evaluating 'textClosureMap' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/strings-with-deps.nix:75:35, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/nixos/modules/system/activation/activation-script.nix:101:18:
while evaluating 'id' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/trivial.nix:14:5, called from undefined position:
while evaluating the attribute 'text' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/nixos/modules/system/activation/activation-script.nix:9:5:
while evaluating the attribute 'text' at undefined position:
while evaluating 'g' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/attrsets.nix:294:19, called from undefined position:
while evaluating anonymous function at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:139:72, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/attrsets.nix:297:20:
while evaluating the attribute 'value' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:512:9:
while evaluating the option `system.activationScripts.etc.text':
while evaluating the attribute 'mergedValue' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:544:5:
while evaluating the attribute 'values' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:538:9:
while evaluating the attribute 'values' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:637:7:
while evaluating anonymous function at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:524:28, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:524:17:
while evaluating definitions from `/home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/nixos/modules/system/etc/etc.nix':
while evaluating 'dischargeProperties' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:596:25, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:525:137:
while evaluating the attribute 'value' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:379:44:
while evaluating the attribute 'sources' of the derivation 'etc' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/nixos/modules/system/etc/etc.nix:12:5:
while evaluating anonymous function at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/nixos/modules/system/etc/etc.nix:20:20, called from undefined position:
while evaluating the attribute 'source' at undefined position:
while evaluating 'g' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/attrsets.nix:294:19, called from undefined position:
while evaluating anonymous function at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:139:72, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/attrsets.nix:297:20:
while evaluating the attribute 'value' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:512:9:
while evaluating the option `environment.etc.dbus-1.source':
while evaluating the attribute 'mergedValue' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:544:5:
while evaluating anonymous function at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:546:17, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:546:12:
while evaluating 'check' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/types.nix:345:15, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:546:22:
while evaluating the attribute 'serviceDirectories' of the derivation 'dbus-1' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating anonymous function at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/types.nix:354:14, called from undefined position:
while evaluating the attribute 'value' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:557:27:
while evaluating anonymous function at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:546:17, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:546:12:
while evaluating 'check' at /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/types.nix:345:15, called from /home/andoriyu/dev/github.com/IgotAutomation/nixos-sdcard/nixpkgs/lib/modules.nix:546:22:
while evaluating the attribute 'passAsFile' of the derivation 'system-path' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'btrfs-progs-5.10.1-armv6l-unknown-linux-gnueabihf' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:198:11:
while evaluating the attribute 'out.outPath' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/lib/customisation.nix:156:13:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'python3.8-setuptools-50.3.1-armv6l-unknown-linux-gnueabihf' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:198:11:
while evaluating the attribute 'buildCommand' of the derivation 'hook' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating 'optionalString' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/lib/strings.nix:202:5, called from /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/build-support/trivial-builders.nix:382:12:
while evaluating the attribute 'shell' of the derivation 'hook' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
attribute 'runtimeShell' missing, at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/top-level/all-packages.nix:520:79
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment