!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
1 Mar 2024
@patka_123:matrix.org@patka_123:matrix.orgJesus, ****** christ. I am soooo blind...09:52:07
@etu:failar.nu@etu:failar.nu
In reply to @tgerbet:matrix.org
https://github.com/NixOS/nixpkgs/pull/292508
Oh, nice :) I've noticed this problem because I'm still using 8.1 :p
10:07:15
@tgerbet:matrix.orgtgerbet

And fixing php81Packages.php-cs-fixer requires this patch and a patch like https://github.com/NixOS/nixpkgs/pull/292511

I will deal with it when it becomes possible

10:09:35
@drupol:matrix.orgPol @tgerbet can't test your PR but I can merge it if builds are passing  11:08:14
@wjjunyor:matrix.orgw
In reply to @tgerbet:matrix.org

Try with something looking like this

diff --git a/wordpress-configuration.nix b/wordpress-configuration.nix
index 04805bc..54eceb1 100644
--- a/wordpress-configuration.nix
+++ b/wordpress-configuration.nix
@@ -10,13 +10,13 @@
   environment.systemPackages = with pkgs; [ wp4nix php ];
   environment.variables.WP_VERSION = "6.4"; 
 
-  nixpkgs.overlays = [ (self: super:
-    wordpressPackages {
-      src = builtins.fetchGit {
+  nixpkgs.overlays = [
+    (self: super: {
+      wordpressPackages = builtins.fetchGit {
         url = "https://git.helsinki.tools/helsinki-systems/wp4nix";
         ref = "master";
       };
-    }
-  )];
+    })
+  ];
 
 }

Worked, now goin for the new error msgs
14:28:47
@wjjunyor:matrix.orgwTks 14:28:54
@wjjunyor:matrix.orgw Pol: once you asked me to try the new phpcomposer - but I lost track of the mesage. Could you send it to me again? 14:31:06
@wjjunyor:matrix.orgw * Pol: once you asked me to try the new php composer - but I lost track of the mesage. Could you send it to me again? 14:46:51
@drupol:matrix.orgPol Can't do that now on the phone. I'll be back tomorrow on my laptop . Ping me tomorrow and I'll see what I can do 15:23:04
5 Mar 2024
@drupol:matrix.orgPolI just had a meeting with Seldaek (Jordi B, the Composer's father).11:47:19
@drupol:matrix.orgPolHe gave me a better idea for the Composer builder.11:47:31
@drupol:matrix.orgPol

That idea is great because:

  1. It simplifies the composer builder
  2. It works with ALL the versions of composer including >= 2.7
11:48:11
@drupol:matrix.orgPolNow I have to work on the composer plugin, make a new release, update the complete documentation... 11:50:52
@drupol:matrix.orgPolSo, composer 2.7.1 is not yet to be included in Nix this week.11:51:06
@drupol:matrix.orgPolYou can follow the work here: https://github.com/NixOS/nixpkgs/pull/28857411:51:19
@drupol:matrix.orgPolAnd here: https://github.com/nix-community/composer-local-repo-plugin/pull/611:51:39
@drupol:matrix.orgPolSuggestions, feedback are, as usual, more than welcome.11:51:51
@drupol:matrix.orgPol * Now I have to work on the composer plugin, make a new release, update the complete documentation, write tests,... 11:52:52
@drupol:matrix.orgPolOk I did it now.12:35:10
@drupol:matrix.orgPolhttps://github.com/NixOS/nixpkgs/pull/28857412:35:11
@drupol:matrix.orgPolReady for reviews12:35:16
@drupol:matrix.orgPolI added some contextual informations in the OP12:46:49
@drupol:matrix.orgPol tgerbet: Do you think you could review it at some point? 12:53:39
@patka_123:matrix.org@patka_123:matrix.org I just did and there is not much to review ^^ A very nice improvement! 12:55:13
@drupol:matrix.orgPol:) Thanks12:55:53
@patka_123:matrix.org@patka_123:matrix.org So now we'd only need to wait for a new composer release with your fix in it, right? 12:56:45
@drupol:matrix.orgPolNo12:57:41
@drupol:matrix.orgPolThis updated version work for ALL the composer versions now.12:57:50
@drupol:matrix.orgPolI basically updated the Composer plugin we use internally.12:58:05
@drupol:matrix.orgPol=> https://github.com/nix-community/composer-local-repo-plugin/pull/612:58:14

Show newer messages


Back to Room ListRoom Version: 6