!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

77 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
21 Nov 2023
@rikudou:lemmings.worldrikudou@lemmings.worldI've updated it a bit, there was a mistake08:00:32
@rikudou:lemmings.worldrikudou@lemmings.worldAlso, you might want to use a project of mine for getting older versions, for example: https://history.nix-packages.com/search?packageName=php74 It should have the latest version the package is found in, meaning the newest available dependencies for each version08:04:31
@stotes:matrix.orgAdam StotesburyThank you! This is exactly what I was looking for earlier, amazing!08:05:54
@drupol:matrix.orgPol
In reply to @rikudou:lemmings.world
Also, you might want to use a project of mine for getting older versions, for example: https://history.nix-packages.com/search?packageName=php74

It should have the latest version the package is found in, meaning the newest available dependencies for each version
You should add the template for flake inputs ! :)
08:17:08
@rikudou:lemmings.worldrikudou@lemmings.world
In reply to @drupol:matrix.org
You should add the template for flake inputs ! :)
I haven't worked with Flakes yet :/
Can you provide an example of what it would look like? Or better yet, create a PR? It's in this file: https://github.com/RikudouSage/NixPackageHistoryFrontend/blob/master/src/app/pages/package-detail/package-detail.component.html
08:18:30
@drupol:matrix.orgPolThis is what a typical inputs set looks like in a flake:08:25:51
@drupol:matrix.orgPolimage.png
Download image.png
08:25:54
@drupol:matrix.orgPolIf I wanted to add php74 to it, I would do:08:26:06
@drupol:matrix.orgPolimage.png
Download image.png
08:27:11
@drupol:matrix.orgPolSadly, I won't be able to provide a PR these days, sorry :( quite busy with work and life recently08:27:43
@rikudou:lemmings.worldrikudou@lemmings.worldAnd how do I install it afterwards?08:28:11
@drupol:matrix.orgPolOh right08:29:09
@drupol:matrix.orgPolI forgot the part where we include the overlay.08:29:16
@stotes:matrix.orgAdam Stotesbury
In reply to @rikudou:lemmings.world
I've updated it a bit, there was a mistake
Just wanted to thank you again for your help. Got me on the right path. First time user of NixOs and even though it's taking me awhile to wrap my head around it I'm loving it so far. Really appreciate you taking the time to help.
08:29:25
@rikudou:lemmings.worldrikudou@lemmings.world
In reply to @stotes:matrix.org
Just wanted to thank you again for your help. Got me on the right path. First time user of NixOs and even though it's taking me awhile to wrap my head around it I'm loving it so far. Really appreciate you taking the time to help.
No problem! I've been in the exact same spot just a month (or so) ago!
08:29:52
@stotes:matrix.orgAdam Stotesbury😄🙏08:30:15
@drupol:matrix.orgPolimage.png
Download image.png
08:31:50
@drupol:matrix.orgPol Then, you can use php74, by doing:pkgs.php7429.php 08:32:05
@rikudou:lemmings.worldrikudou@lemmings.worldThanks!08:32:42
@drupol:matrix.orgPolyou really should look at Flakes08:33:01
@drupol:matrix.orgPolThis is a Nix killer feature :)08:33:10
@rikudou:lemmings.worldrikudou@lemmings.worldI've been planning to! I know the theory behind it, but haven't had time to learn the syntax, yet.08:33:53
@drupol:matrix.orgPolthe syntax is not that different from regular use of Nix08:34:07
@drupol:matrix.orgPolit's just that flake has a structure where multiple outputs can be created08:34:31
@drupol:matrix.orgPol * it's just that flake has a fixed structure where multiple outputs can be created08:34:42
@rikudou:lemmings.worldrikudou@lemmings.worldWell, it's also very cryptic, I've read a bit on them and I still don't understand how to do even the most basic things. I still don't know how to incorporate the bits you shared today (about the php package) into, well, anything, be it configuration.nix or flake.nix.08:45:02
@rikudou:lemmings.worldrikudou@lemmings.worldIt seems like something I'll have to read on thoroughly and I don't have the time for that lately08:45:42
@drupol:matrix.orgPolOK, I can help if you want, just let me know clearly what is unclear and I'll do my best.08:47:31
@rikudou:lemmings.worldrikudou@lemmings.world Well, creating a complete shell.nix equivalent would be a great start, I have no clue how to install the package in a flake.nix 08:49:11
@drupol:matrix.orgPol shell.nix was made to create development shells. This correspond to the attribute: devShells.default in a flake 08:49:53

Show newer messages


Back to Room ListRoom Version: 6