Add quickShell to build devshells quickly #209

Closed
abonerib wants to merge 1 commits from abonerib/jungle:quick-shell into master
Collaborator

This is the same I built in: https://github.com/Leixb/quick-nix

But I think it'll be better to have it in sync with jungle instead of having to update the flake lock.

I am probably the only one that will use it.

This is the same I built in: https://github.com/Leixb/quick-nix But I think it'll be better to have it in sync with jungle instead of having to update the flake lock. I am probably the only one that will use it.
abonerib added 1 commit 2025-10-28 16:57:04 +01:00
Add quickShell to build devshells quickly
All checks were successful
CI / build:cross (pull_request) Successful in 6s
CI / build:all (pull_request) Successful in 18s
9deef256a2
Owner

Not sure if your use case can be satisfied by #211. If so, I would prefer generating a flake.nix on disk so we can go back to the same shell in the future, rather than generating it on the fly but never recording it on disk.

Not sure if your use case can be satisfied by https://jungle.bsc.es/git/rarias/jungle/pulls/211. If so, I would prefer generating a flake.nix on disk so we can go back to the same shell in the future, rather than generating it on the fly but never recording it on disk.
Author
Collaborator

Not sure if your use case can be satisfied by #211. If so, I would prefer generating a flake.nix on disk so we can go back to the same shell in the future, rather than generating it on the fly but never recording it on disk.

I see this more akin to a combination of nix develop + shell where the user is fine with an ephemeral shell.

> Not sure if your use case can be satisfied by https://jungle.bsc.es/git/rarias/jungle/pulls/211. If so, I would prefer generating a flake.nix on disk so we can go back to the same shell in the future, rather than generating it on the fly but never recording it on disk. I see this more akin to a combination of `nix develop + shell` where the user is fine with an ephemeral shell.
Owner

I see this more akin to a combination of nix develop + shell where the user is fine with an ephemeral shell.

I don't want to allow ephermeral shells without the flake.nix and flake.lock, as they make it hard to reproduce a problem that happens later on.

We can reduce the friction in nixgen to generate the shell by calling nix develop at the end, and maybe finding a way to automatically store the flake.nix and flake.lock somewhere safe in such a way that can be dumped from inside the shell. Let me know if that would suit your use case.

> I see this more akin to a combination of `nix develop + shell` where the user is fine with an ephemeral shell. I don't want to allow ephermeral shells without the flake.nix and flake.lock, as they make it hard to reproduce a problem that happens later on. We can reduce the friction in `nixgen` to generate the shell by calling `nix develop` at the end, and maybe finding a way to automatically store the flake.nix and flake.lock somewhere safe in such a way that can be dumped from inside the shell. Let me know if that would suit your use case.
abonerib closed this pull request 2026-01-21 12:38:29 +01:00
All checks were successful
CI / build:cross (pull_request) Successful in 6s
CI / build:all (pull_request) Successful in 18s

Pull request closed

Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/jungle#209