mirror of
https://codeberg.org/icewind/flakelight-php.git
synced 2026-06-03 09:54:20 +02:00
check if vendorHash is up to date
This commit is contained in:
parent
3afda04092
commit
293329e37b
2 changed files with 39 additions and 6 deletions
|
|
@ -165,7 +165,10 @@ in
|
|||
};
|
||||
});
|
||||
in
|
||||
(optionalAttrs hasPsalm (forPhpVersions "psalm" ./checks/psalm.nix))
|
||||
{
|
||||
vendor-hash = pkgs.callPackage ./checks/vendor-hash.nix {};
|
||||
}
|
||||
// (optionalAttrs hasPsalm (forPhpVersions "psalm" ./checks/psalm.nix))
|
||||
// (optionalAttrs hasPhpStan (forPhpVersions "phpstan" ./checks/phpstan.nix));
|
||||
|
||||
apps = {pkgs, ...}: let
|
||||
|
|
@ -173,12 +176,14 @@ in
|
|||
genAttrs' composerMeta.phpVersions (version: {
|
||||
name = "${name}${removeDots version}";
|
||||
value = ''${getExe (app.override {
|
||||
php = buildPhpVersion pkgs version;
|
||||
})} "$@"'';
|
||||
php = buildPhpVersion pkgs version;
|
||||
})} "$@"'';
|
||||
});
|
||||
in {
|
||||
phpunit = ''${getExe pkgs.phpunit} "$@"'';
|
||||
} // (forPhpVersions "phpunit" pkgs.phpunit);
|
||||
in
|
||||
{
|
||||
phpunit = ''${getExe pkgs.phpunit} "$@"'';
|
||||
}
|
||||
// (forPhpVersions "phpunit" pkgs.phpunit);
|
||||
})
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue