mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #185683 from ilkecan/phpPackages-set-meta-mainProgram
phpPackages: set meta.mainProgram
This commit is contained in:
commit
d3c9c4df6b
@ -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 New Issue
Block a user