16 Aug 2024 |
nebucatnetzer13 | However I don't need it to work exactly this way. This was just me trying to hack something together. | 07:59:12 |
nebucatnetzer13 | In a Python project with poetry2nix I can do this for example:
https://github.com/Nebucatnetzer/sort-of-pastebin/blob/main/flake.nix#L54-L67 | 08:04:30 |
nebucatnetzer13 | One is the dev environment which which I can run the tests and the other is the final application. | 08:05:07 |
nebucatnetzer13 | Which I ten use like this to do the tests:
https://github.com/Nebucatnetzer/sort-of-pastebin/blob/main/.github/workflows/tests.yml | 08:05:49 |
nebucatnetzer13 | And when they succeed I build the container | 08:06:02 |
nebucatnetzer13 | https://github.com/Nebucatnetzer/sort-of-pastebin/blob/main/.github/workflows/build_containers.yml | 08:06:10 |
Pol | But you're using nix develop . | 08:09:59 |
Pol | buildComposerProject does not create a development shell (to be used with nix develop ). | 08:10:25 |
nebucatnetzer13 | Is there a way to do that? | 08:15:32 |
Pol | Creating a devshell containing your tools ? | 08:23:39 |
Pol | Yeah it's quite easy to do | 08:23:46 |