!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

81 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
19 Aug 2022
@Zevran:matrix.orgGaël Reyrol
In reply to @drupol:matrix.org
Maybe you'll find it useful. Find it here: https://github.com/loophp/nix-shell/
Thx ! It works like a charm <3, it would be nice to have the composer lib available from phpcs to include multiple composer files in the case of a monorepo ;)
07:52:37
@drupol:matrix.orgPolWhat do you mean?07:54:22
@drupol:matrix.orgPolWhat is the "composer lib" ?07:55:07
@Zevran:matrix.orgGaël Reyrol
In reply to @drupol:matrix.org
What is the "composer lib" ?
The function that get extensions from composer requirements
08:03:33
@drupol:matrix.orgPolOoooh I see.08:04:02
@drupol:matrix.orgPolIt is actually.08:04:19
@drupol:matrix.orgPolhttps://github.com/loophp/nix-shell/blob/master/src/phps.nix#L508:04:48
@drupol:matrix.orgPolYou can include this file and enjoy it08:04:56
@drupol:matrix.orgPolI guess there are room for improvements and features, feel free to suggest what I could do08:05:21
@Zevran:matrix.orgGaël Reyrol
In reply to @drupol:matrix.org
I guess there are room for improvements and features, feel free to suggest what I could do
Sure but I need to learn a bit more about Nix lang :)
08:15:36
@drupol:matrix.orgPol The problem that I have is that if you want to read a user file, then you must add --impure, it's mandatory. It's ugly I know, but it works well. 08:15:43
@drupol:matrix.orgPolSame here, I'm learning everyday :)08:15:57
@drupol:matrix.orgPolLet me know if you have any question I can assist you with, don't hesitate.08:16:15
@Zevran:matrix.orgGaël ReyrolRedacted or Malformed Event08:16:38
@drupol:matrix.orgPoland I speak french, so, hit me up in private if it's' easier.08:17:49
@Zevran:matrix.orgGaël Reyrol
In reply to @drupol:matrix.org
Let me know if you have any question I can assist you with, don't hesitate.
Thanks, I have one last question, I am looking into making PHPStorm aware of the nix dev shell
08:18:10
@drupol:matrix.orgPolYou have to run PHPStorm from the shell08:18:27
@drupol:matrix.orgPolThis is how we do08:18:32
@Zevran:matrix.orgGaël ReyrolOkay, I was trying to find a plugin that would be able to do that 08:19:04
@drupol:matrix.orgPolCouldn't find a better solution yet08:19:14
@Zevran:matrix.orgGaël ReyrolAlright :)08:20:19
@drupol:matrix.orgPolI suggest you to use direnv :)08:20:34
@drupol:matrix.orgPolAre you using home Manager?08:20:44
@Zevran:matrix.orgGaël ReyrolYes08:22:56
@drupol:matrix.orgPolthis might be useful for you:08:23:07
@drupol:matrix.orgPolhttps://code.europa.eu/ecphp/ec-linux-workspace08:23:23
@drupol:matrix.orgPolIt setup fish + direnv automatically08:23:30
@drupol:matrix.orgPolAnd direnv is amazing 08:23:42
@Zevran:matrix.orgGaël ReyrolThanks, my setup is here: https://github.com/gaelreyrol/nixos-config, it needs a bit of refactoring, deduplicate configurations but I am satisfied with it ;)08:28:06
@drupol:matrix.orgPolOk you already got it :)08:30:43

Show newer messages


Back to Room ListRoom Version: 6