Rostislav Svoboda schreef op di 10-05-2022 om 00:20 [+0200]: > /home/bost/dev/guix/gnu/packages > $ time guix build --check --load-path=. openjdk > [...] > and it looks like the warnings can be ignored packages contains files like "base.scm" corresponding to the module (gnu packages base). However, now there are two (gnu packages base) -- the base from the guix you run, and the base from ./. Additionally, "base.scm" has a module (gnu packages base) so Guile expects it to be located in ./gnu/package/base.scm instead. Instead, try: /home/bost/dev/guix # do this inside a "guix shell -D guix" or whatever you use # to set up a Guix development environment $ make && time ./pre-inst-env guix build openjdk (also, don't do --check -- check is for verifying that the build was reproducible, but it's a new package definition, so Guix doesn't have anything to compare it against). > The following graft will be made: > [...] Looks like Guix didn't detect the new package definition, otherwise you'd see ‘The following packages will be build’ or the like. > ;; I'd prefer: [... > (delete "openjdk16:jdk") > (append `(("openjdk17:jdk" ,openjdk17 "jdk")))) If/when > About the labels issue: maybe "icedtea-8" could be changed to > "icedtea", "openjdkN" to "openjdk" and "openjdkN:jdk" to > "openjdk:jdk" at some point in the future, such that the package name > matches the input label and the input alist can be changed to a > package list. is addressed, WDYT of (replace "openjdk" openjdk)? Greetings, Maxime.