mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 12:08:17 +03:00
php.packages: Add back meta attributes
This commit is contained in:
parent
d8f2c4d846
commit
21b44e792e
@ -58,7 +58,9 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||||||
# with how buildPecl does it and make the file easier to overview.
|
# with how buildPecl does it and make the file easier to overview.
|
||||||
mkDerivation = { pname, ... }@args: pkgs.stdenv.mkDerivation (args // {
|
mkDerivation = { pname, ... }@args: pkgs.stdenv.mkDerivation (args // {
|
||||||
pname = "php-${pname}";
|
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
|
# Function to build an extension which is shipped as part of the php
|
||||||
|
Loading…
Reference in New Issue
Block a user