mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
composer-local-repo-plugin: Stop exposing this internal tool
This commit is contained in:
parent
c0c01910ce
commit
9e701e6328
@ -1,4 +1,4 @@
|
||||
{ stdenvNoCC, lib, writeTextDir, php, makeBinaryWrapper, fetchFromGitHub, fetchurl, composer-local-repo-plugin }:
|
||||
{ callPackage, stdenvNoCC, lib, writeTextDir, php, makeBinaryWrapper, fetchFromGitHub, fetchurl }:
|
||||
|
||||
let
|
||||
buildComposerProjectOverride = finalAttrs: previousAttrs:
|
||||
@ -6,6 +6,7 @@ let
|
||||
let
|
||||
phpDrv = finalAttrs.php or php;
|
||||
composer = finalAttrs.composer or phpDrv.packages.composer;
|
||||
composer-local-repo-plugin = callPackage ./composer-local-repo-plugin.nix { };
|
||||
composerLock = finalAttrs.composerLock or null;
|
||||
in
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenvNoCC, lib, writeTextDir, fetchFromGitHub, php, composer-local-repo-plugin }:
|
||||
{ callPackage, stdenvNoCC, lib, writeTextDir, fetchFromGitHub, php }:
|
||||
|
||||
let
|
||||
mkComposerRepositoryOverride =
|
||||
@ -19,6 +19,7 @@ let
|
||||
let
|
||||
phpDrv = finalAttrs.php or php;
|
||||
composer = finalAttrs.composer or phpDrv.packages.composer;
|
||||
composer-local-repo-plugin = callPackage ./composer-local-repo-plugin.nix { };
|
||||
in
|
||||
assert (lib.assertMsg (previousAttrs ? src) "mkComposerRepository expects src argument.");
|
||||
assert (lib.assertMsg (previousAttrs ? vendorHash) "mkComposerRepository expects vendorHash argument.");
|
||||
|
@ -17991,11 +17991,8 @@ with pkgs;
|
||||
|
||||
|
||||
# PHP interpreters, packages and extensions.
|
||||
|
||||
composer = callPackage ../development/tools/misc/composer { };
|
||||
|
||||
composer-local-repo-plugin = callPackage ../build-support/php/composer-local-repo-plugin.nix {};
|
||||
|
||||
#
|
||||
# Set default PHP interpreter, extensions and packages
|
||||
php = php82;
|
||||
|
Loading…
Reference in New Issue
Block a user