16 Aug 2024 |
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 |
Pol | That's the easiest thing to do in Nix I believe. | 08:23:56 |
nebucatnetzer13 | yeah but especially with the content of composer.lock | 08:24:36 |
Pol | mmh I don't think it has been done yet | 08:25:05 |
nebucatnetzer13 | ah okay, because the rest I have already working | 08:25:29 |
Pol | But you'll find all the most used tools already in nixpkgs (phpunit, psalm, phpstan, etc etc) | 08:25:42 |
Pol | I know that you could do 2 derivations | 08:26:34 |
Pol | For example: | 08:26:38 |
Pol |
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 |