Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2024-02-01 Thread Vincenzo Palazzo
Hi Eli, Yeah sorry I forgot to tag with -v2, so I am creating a -v3, after a while that I do not use email to send patches I get a little bit rusty. Thanks for your useful feedback, I am sending the v3 now. Cheers, Vincent. On Wed, Jan 31, 2024 at 11:19 PM Eli Schwartz wrote: > > On 1/31/

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2024-01-31 Thread Eli Schwartz
On 1/31/24 4:43 PM, Vincenzo Palazzo wrote: > This commit is specifically targeting enhancements in > Nix support for GCC development. This initiative stems > from the recognized need within our community for a more > streamlined and efficient development process when using Nix. > > Please not tha

[RFC PATCH 1/1] nix: add a simple flake nix shell

2024-01-31 Thread Vincenzo Palazzo
This commit is specifically targeting enhancements in Nix support for GCC development. This initiative stems from the recognized need within our community for a more streamlined and efficient development process when using Nix. Please not that in this case the Nix tool is used to define what shoul

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-11 Thread Vincenzo Palazzo
Hi all, >Are you backing down from that opinion and deciding that this proposal is, indeed, after all specific to NixOS and only NixOS and is neither needed nor used on any other distro? I may be misreading the conversation, so let's restart it. Why should my RFC be inside the distro's repositor

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-05 Thread Eli Schwartz
On 12/5/23 5:35 AM, Vincenzo Palazzo wrote: >>> I see, but to me, this do not look like a distro build procedure, >>> because you can use >>> with any kind of system (OSX/UNIX) by using nix. >> >> But you can do the same with various other distro build procedures too? >> e.g. Gentoo Prefix allows y

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-05 Thread Vincenzo Palazzo
Hi all, >Generally we have various stuff in contrib/, one of it scripts like gcc_build. IMHO the flake.nix file (or a script to create it) could be put there as well. I was not sure about that, I will try to see what if I can put in there >But you can do the same with various other distro buil

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-05 Thread Richard Biener
On Tue, Dec 5, 2023 at 5:26 AM Eli Schwartz wrote: > > On 12/4/23 9:01 PM, Vincenzo Palazzo wrote: > > On Tue, Dec 5, 2023 at 2:54 AM Jeff Law wrote: > >> Distro build procedures are not something the GCC project generally gets > >> involved with. > > > > I see, but to me, this do not look like a

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-04 Thread Andrew Pinski
On Mon, Dec 4, 2023 at 4:58 PM Vincenzo Palazzo wrote: > > This commit is specifically targeting enhancements in > Nix support for GCC development. This initiative stems > from the recognized need within our community for a more > streamlined and efficient development process when using Nix. I th

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-04 Thread Vincenzo Palazzo
Ciao all, >+1. I think this is best left to the distros. What do you mean? this is not a package, it is an env shell in order to build an work on GCC on NixOS. NixOS has already the packages for GCC Cheers, Vincent. On Tue, Dec 5, 2023 at 2:07 AM Jeff Law wrote: > > > > On 12/4/23 18:02,

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-04 Thread Jeff Law
On 12/4/23 18:02, Andrew Pinski wrote: On Mon, Dec 4, 2023 at 4:58 PM Vincenzo Palazzo wrote: This commit is specifically targeting enhancements in Nix support for GCC development. This initiative stems from the recognized need within our community for a more streamlined and efficient devel

[RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-04 Thread Vincenzo Palazzo
This commit is specifically targeting enhancements in Nix support for GCC development. This initiative stems from the recognized need within our community for a more streamlined and efficient development process when using Nix. Signed-off-by: Vincenzo Palazzo --- flake.lock | 60

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-04 Thread Jeff Law
On 12/4/23 18:38, Vincenzo Palazzo wrote: Ciao all, +1. I think this is best left to the distros. What do you mean? this is not a package, it is an env shell in order to build an work on GCC on NixOS. Distro build procedures are not something the GCC project generally gets involved with

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-04 Thread Eli Schwartz
On 12/4/23 9:01 PM, Vincenzo Palazzo wrote: > On Tue, Dec 5, 2023 at 2:54 AM Jeff Law wrote: >> Distro build procedures are not something the GCC project generally gets >> involved with. > > I see, but to me, this do not look like a distro build procedure, > because you can use > with any kind of

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-04 Thread Vincenzo Palazzo
>Distro build procedures are not something the GCC project generally gets involved with. I see, but to me, this do not look like a distro build procedure, because you can use with any kind of system (OSX/UNIX) by using nix. I disagree with you just because my patch is not building a package but i

Re: [RFC PATCH 1/1] nix: add a simple flake nix shell

2023-12-04 Thread Vincenzo Palazzo
However, I understand your point. Cheers, Vincent. On Tue, Dec 5, 2023 at 3:01 AM Vincenzo Palazzo wrote: > > >Distro build procedures are not something the GCC project generally gets > involved with. > > I see, but to me, this do not look like a distro build procedure, > because you can use