Unverified Commit d3c9c4df authored by Aaron Andersen's avatar Aaron Andersen Committed by GitHub
Browse files

Merge pull request #185683 from ilkecan/phpPackages-set-meta-mainProgram

phpPackages: set meta.mainProgram
parents 0adce209 58919907
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ mkDerivation rec {
    description = "A deployment tool for PHP";
    license = licenses.mit;
    homepage = "https://deployer.org/";
    mainProgram = "dep";
    maintainers = with maintainers; teams.php.members;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ 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;
  });

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