Skip to content

Commit

Permalink
psysh: fix 0.12.3 using a preBuild hook
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed May 2, 2024
1 parent 7a3eb2e commit 47bfa0e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pkgs/development/php-packages/psysh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,18 @@ php.buildComposerProject (finalAttrs: {
url = "https://github.com/bobthecow/psysh/releases/download/v${finalAttrs.version}/composer-v${finalAttrs.version}.lock";
hash = "sha256-ur6mzla3uXeFL6aEHAPdpxGdvcgzOgTLW/CKPbNqeCg=";
};
vendorHash = "";

composerRepository = {
preBuild = ''
setComposeRootVersion
composer config platform.php 7.4
composer require --no-update symfony/polyfill-iconv symfony/polyfill-mbstring
composer require --no-update --dev roave/security-advisories:dev-latest
composer update --no-interaction --no-progress --prefer-stable --no-dev --classmap-authoritative --prefer-dist --lock
'';
};

vendorHash = "sha256-vlEbehxy6xi2qLKG32fV0OJVSphWjqKUVHbWOhoWjoI=";

meta = {
changelog = "https://github.com/bobthecow/psysh/releases/tag/v${finalAttrs.version}";
Expand Down

0 comments on commit 47bfa0e

Please sign in to comment.