Subject: bug#42601: Guix install bug: error: Unbound variable: ~S

From: Jan Wielkiewicz <[email-masked]>
Date: Wed, 29 Jul 2020 18:16:47 +0200

It seems it's not about the name, but the package - I changed the name
to "qmk" and it still doesn't work. Not that this is an excuse for
writing such a strange message.

Make output:

[100%] GUILEC   gnu/packages/hardware.go
gnu/packages/hardware.scm:486:4: warning: possibly unbound variable
`arm-none-eabi-toolchain' gnu/packages/hardware.scm:486:4: warning:
possibly unbound variable `avr-toolchain'
gnu/packages/hardware.scm:486:4: warning: possibly unbound variable
`dfu-programmer' gnu/packages/hardware.scm:486:4: warning: possibly
unbound variable `dfu-util'

My wip package:

(define-public qmk
  (package
   (name "qmk")
   (version "0.0.35")
   (source
    (origin
     (method url-fetch)
     (uri (pypi-uri "qmk" version))
     (sha256
      (base32
       "1dd3q38r5bs9ih8jiwsb7q2655wyka2a8wlwv7yln9narlqwl177"))))
   (build-system python-build-system)
   (propagated-inputs
    `(("arm-none-eabi-toolchain" ,arm-none-eabi-toolchain)
      ("avr-toolchain" ,avr-toolchain)
      ("dfu-programmer" ,dfu-programmer)
      ("dfu-util" ,dfu-util)
      ("python3" ,python)
      ("python-appdirs" ,python-appdirs)
      ("python-argcomplete" ,python-argcomplete)
      ("python-colorama" ,python-colorama)
      ("python-flake8" ,python-flake8)
      ("python-hjson" ,python-hjson)
      ("python-nose2" ,python-nose2)
      ("python-yapf" ,python-yapf)))
   (arguments
    `(#:tests? #f)) ; no tests
   (home-page "https://github.com/qmk/qmk_cli")
   (synopsis
    "Work with QMK Firmware")
   (description
    "A program to help users work with QMK Firmware.")
   (license license:expat)))

Jan Wielkiewicz