!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

72 Members
A room for PHP developers running on Nix22 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
16 Aug 2024
@nebucatnetzer13:matrix.orgnebucatnetzer13However I don't need it to work exactly this way. This was just me trying to hack something together.07:59:12
@nebucatnetzer13:matrix.orgnebucatnetzer13In a Python project with poetry2nix I can do this for example: https://github.com/Nebucatnetzer/sort-of-pastebin/blob/main/flake.nix#L54-L6708:04:30
@nebucatnetzer13:matrix.orgnebucatnetzer13One is the dev environment which which I can run the tests and the other is the final application.08:05:07
@nebucatnetzer13:matrix.orgnebucatnetzer13Which I ten use like this to do the tests: https://github.com/Nebucatnetzer/sort-of-pastebin/blob/main/.github/workflows/tests.yml08:05:49
@nebucatnetzer13:matrix.orgnebucatnetzer13And when they succeed I build the container08:06:02
@nebucatnetzer13:matrix.orgnebucatnetzer13https://github.com/Nebucatnetzer/sort-of-pastebin/blob/main/.github/workflows/build_containers.yml08:06:10
@drupol:matrix.orgPol But you're using nix develop. 08:09:59
@drupol:matrix.orgPol buildComposerProject does not create a development shell (to be used with nix develop). 08:10:25
@nebucatnetzer13:matrix.orgnebucatnetzer13Is there a way to do that?08:15:32
@drupol:matrix.orgPolCreating a devshell containing your tools ?08:23:39
@drupol:matrix.orgPolYeah it's quite easy to do08:23:46

Show newer messages


Back to Room ListRoom Version: 6