Merge pull request #185683 from ilkecan/phpPackages-set-meta-mainProgram
phpPackages: set meta.mainProgram
This commit is contained in:
commit
d3c9c4df6b
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue