Re: guix shell init

2023-11-29 Thread Simon Tournier
Hi jgart, On mer., 25 oct. 2023 at 14:12, "jgart" wrote: >> Could you explain what “Nix flake” means using Guix terminology? > > Here's TLDR list of nix flake features and their guix equivalents > (maybe): Thanks for explaining. If I understand correctly, Guix does not miss some feature from N

Re: guix shell init

2023-10-28 Thread Suhail
"jgart" writes: > It would create a basic manifest.scm or guix.scm file for the user. what would the "basic" manifest.scm or guix.scm do? could you share a sample of what it would look like? -- Suhail This email is not an offer capable of acceptance, does not evidence an intention to enter in

Re: guix shell init

2023-10-28 Thread Suhail
"jgart" writes: > It would generate this boilerplate somehow: > > https://guix.gnu.org/en/blog/tags/cookbook/sk/html_node/Getting-Started.html i see. i'm relatively new to guix, but i think it would be useful to have a utility that - allows us to define some language-specific, and more generall

Re: guix shell init

2023-10-25 Thread jgart
> Could you explain what “Nix flake” means using Guix terminology? Hi Simon Here's TLDR list of nix flake features and their guix equivalents (maybe): Guix has features that overlap with flake features. What might be new nix features that the flakes API introduced might just be features that ar

Re: guix shell init

2023-10-25 Thread jgart
> Right? Hi Simon, Yes, that is correct. Something like that.

Re: guix shell init

2023-10-25 Thread Simon Tournier
Hi, On Wed, 25 Oct 2023 at 04:29, "jgart" wrote: > nix flakes also allows you to create your own custom template for use with > `nix flakes init`: > > https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake-init#template-definitions > > We could do the same with `guix shell init` mayb

Re: guix shell init

2023-10-25 Thread Simon Tournier
Hi, On Wed, 25 Oct 2023 at 04:24, "jgart" wrote: > It would generate this boilerplate somehow: > > https://guix.gnu.org/en/blog/tags/cookbook/sk/html_node/Getting-Started.html Could you be precise about the boilerplate? You would like that “guix shell --init” would generate a template for some

Re: guix shell init

2023-10-25 Thread Simon Tournier
Hi, On Wed, 25 Oct 2023 at 02:24, "jgart" wrote: > What if we had a command like `guix shell init`. > > It would create a basic manifest.scm or guix.scm file for the user. Is guix shell --export-manifest not already doing that? And “guix package --export-channels” is similar for the chan

Re: guix shell init

2023-10-24 Thread jgart
nix flakes also allows you to create your own custom template for use with `nix flakes init`: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake-init#template-definitions We could do the same with `guix shell init` maybe...

Re: guix shell init

2023-10-24 Thread jgart
See this blog post for how nix does it for the `nix flakes init` command: https://peppe.rs/posts/novice_nix:_flake_templates/ wdyt

Re: guix shell init

2023-10-24 Thread jgart
It would generate this boilerplate somehow: https://guix.gnu.org/en/blog/tags/cookbook/sk/html_node/Getting-Started.html