!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

68 Members
A room for PHP developers running on Nix19 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
7 Jul 2023
@drupol:matrix.org@drupol:matrix.orgI can test with a temporary commit.08:01:42
@drupol:matrix.org@drupol:matrix.orgI don't have a darwin here.08:01:47
@drupol:matrix.org@drupol:matrix.orgLet me do that.08:01:50
@etu:failar.nu@etu:failar.nu
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix
index 2be6447f83b..83dd081003d 100644
--- a/pkgs/top-level/php-packages.nix
+++ b/pkgs/top-level/php-packages.nix
@@ -226,8 +226,6 @@ lib.makeScope pkgs.newScope (self: with self; {

     imagick = callPackage ../development/php-packages/imagick { };

-    inotify = callPackage ../development/php-packages/inotify { };
-
     mailparse = callPackage ../development/php-packages/mailparse { };

     maxminddb = callPackage ../development/php-packages/maxminddb { };
@@ -291,7 +289,9 @@ lib.makeScope pkgs.newScope (self: with self; {
     xdebug = callPackage ../development/php-packages/xdebug { };

     yaml = callPackage ../development/php-packages/yaml { };
-  } // (
+  } // (lib.optionalAttrs (!stdenv.isDarwin) {
+    inotify = callPackage ../development/php-packages/inotify { };
+  }) // (
     let
       # This list contains build instructions for different modules that one may
       # want to build.
08:04:22
@drupol:matrix.org@drupol:matrix.orgthat's an alternative indeed08:08:10
@drupol:matrix.org@drupol:matrix.orgimage.png
Download image.png
08:09:03
@drupol:matrix.org@drupol:matrix.org I would use the enable attribute 08:10:07
@drupol:matrix.org@drupol:matrix.orgI guess that's why it has been created.08:11:19
@drupol:matrix.org@drupol:matrix.org I should have used that for the blackfire extension as well. 08:11:32
@etu:failar.nu@etu:failar.nuBut that's only for "built in" extensions right?08:12:00
@drupol:matrix.org@drupol:matrix.orgNo08:12:07
@drupol:matrix.org@drupol:matrix.orgIt's for all extensions08:12:17
@etu:failar.nu@etu:failar.nu You sure? Because we have that list named extensionData which are for built in extensions only where it passes each of the entries through mkExtension and also filters on enable 08:14:36
@drupol:matrix.org@drupol:matrix.orgWait.08:14:35
@drupol:matrix.org@drupol:matrix.orgYou're maybe right.08:14:39
@drupol:matrix.org@drupol:matrix.orgYes, let me double check.08:14:44
@etu:failar.nu@etu:failar.nuWhile the extensions list above is already assigned to the extensions attribute08:15:02

Show newer messages


Back to Room ListRoom Version: 6