Unverified Commit 21b44e79 authored by Elis Hirwing's avatar Elis Hirwing
Browse files

php.packages: Add back meta attributes

parent d8f2c4d8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -58,7 +58,9 @@ lib.makeScope pkgs.newScope (self: with self; {
  # with how buildPecl does it and make the file easier to overview.
  mkDerivation = { pname, ... }@args: pkgs.stdenv.mkDerivation (args // {
    pname = "php-${pname}";
    meta.mainProgram = args.meta.mainProgram or pname;
    meta = args.meta // {
      mainProgram = args.meta.mainProgram or pname;
    };
  });

  # Function to build an extension which is shipped as part of the php