Re: Functional package interface

2024-04-16 Thread Development of GNU Guix and the GNU System distribution.
On 2024-04-16 01:17, spacecadet wrote: > Hi Nicolas > >> Isn't what you're trying to do already in Guix? Have a look at >> package-inputs-rewrite right there : >> https://guix.gnu.org/manual/devel/en/html_node/Defining-Package-Variants.html > > I want to have this but more powerful, I'd like to do

Re: Functional package interface

2024-04-16 Thread spacecadet
Hi Nicolas Isn't what you're trying to do already in Guix? Have a look at package-inputs-rewrite right there : https://guix.gnu.org/manual/devel/en/html_node/Defining-Package-Variants.html I want to have this but more powerful, I'd like to do something like define an operating system with all

Re: Functional package interface

2024-04-16 Thread spacecadet
In the code there, the function propagate-packages will indeed try and propagate every package through the graph node. I looked at your code, it's comprehensive. I wasn't sure such a thing was possible with input rewriting, although I think there's still a lot of benefit to the functional approa

No default OpenJDK version?

2024-04-16 Thread Vagrant Cascadian
When recently taking a look at diffoscope, I was reminded that there is effectively no default openjdk version, you have to pick a specific version for each package definition... At some time in diffoscope's history, that was openjdk@12. But there are quite a few versions to choose from: guix

Re: No default OpenJDK version?

2024-04-16 Thread Julien Lepiller
Currently, most java packages use the implicit jdk from the build system (ant- or maven-build-system), which is… icedtea@8. We still have quite a lot of old packages that don't build with openjdk9, so I'm not sure when we can update the default jdk… Le 16 avril 2024 22:25:33 GMT+02:00, Vagrant

Re: No default OpenJDK version?

2024-04-16 Thread Attila Lendvai
> Currently, most java packages use the implicit jdk from the build > system (ant- or maven-build-system), which is… icedtea@8. We still > have quite a lot of old packages that don't build with openjdk9, so > I'm not sure when we can update the default jdk… does that prevent the introduction of a

Re: No default OpenJDK version?

2024-04-16 Thread Vagrant Cascadian
On 2024-04-16, Julien Lepiller wrote: > Currently, most java packages use the implicit jdk from the build > system (ant- or maven-build-system), which is… icedtea@8. We still > have quite a lot of old packages that don't build with openjdk9, so > I'm not sure when we can update the default jdk… Bu

Re: No default OpenJDK version?

2024-04-16 Thread Julien Lepiller
Makes sense, we can do that. Le 16 avril 2024 23:50:54 GMT+02:00, Vagrant Cascadian a écrit : >On 2024-04-16, Julien Lepiller wrote: >> Currently, most java packages use the implicit jdk from the build >> system (ant- or maven-build-system), which is… icedtea@8. We still >> have quite a lot of o

Re: bug#63267: gcc-toolchain is missing libstdc++.so

2024-04-16 Thread John Kehayias
Hi everyone, Apologies for the long delay on this. On Tue, May 09, 2023 at 07:07 PM, Simon Tournier wrote: > Hi, > > I am proposing patch#63393 [1] which adds the output lib to > gcc-toolchain. Well, quoting the comment: > > ;; The main raison d'être of this "meta-package" is (1) to conve

Python's native-inputs

2024-04-16 Thread Development of GNU Guix and the GNU System distribution.
Hi Guix, On some languages, there are a lot of unused native-inputs that are development & linting dependencies much more than packages that are actually used to build or test a package (I'm thinking at least Python and Rust). These fall in the category of tools "useful" at run time, but unecess