!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

73 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.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
@drupol:matrix.orgPolThat's the easiest thing to do in Nix I believe.08:23:56
@nebucatnetzer13:matrix.orgnebucatnetzer13yeah but especially with the content of composer.lock08:24:36
@drupol:matrix.orgPolmmh I don't think it has been done yet08:25:05
@nebucatnetzer13:matrix.orgnebucatnetzer13ah okay, because the rest I have already working08:25:29
@drupol:matrix.orgPol But you'll find all the most used tools already in nixpkgs (phpunit, psalm, phpstan, etc etc) 08:25:42
@drupol:matrix.orgPolI know that you could do 2 derivations08:26:34
@drupol:matrix.orgPolFor example:08:26:38
@drupol:matrix.orgPol
  1. my-app -> would be made with buildComposerProject, using regular attributes. This is ready to go in prod if needed, it doesn't contain any require-dev stuff.
08:27:14

Show newer messages


Back to Room ListRoom Version: 6