diff --git a/composer.json b/composer.json index 2a88f86..447d3eb 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "ext-ctype": "*", "ext-iconv": "*", "doctrine/annotations": "^2.0", - "illuminate/collections": "*", + "illuminate/collections": "^10.48", "illuminate/pipeline": "^10.8", "illuminate/support": "^10.8", "phpdocumentor/reflection-docblock": "^5.3", diff --git a/composer.lock b/composer.lock index 26c619f..f77c637 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e7d5bf85313a3f5cb74e96149e0c01ec", + "content-hash": "9c3dcc8628cae9cb036666e39be896dd", "packages": [ { "name": "carbonphp/carbon-doctrine-types", @@ -368,16 +368,16 @@ }, { "name": "illuminate/collections", - "version": "v10.48.3", + "version": "v10.48.8", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", - "reference": "36651526fa6bb5445ffc6d51899d80291f8e0486" + "reference": "f9589f1063a449111dcaa1d68285b507d9483a95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/36651526fa6bb5445ffc6d51899d80291f8e0486", - "reference": "36651526fa6bb5445ffc6d51899d80291f8e0486", + "url": "https://api.github.com/repos/illuminate/collections/zipball/f9589f1063a449111dcaa1d68285b507d9483a95", + "reference": "f9589f1063a449111dcaa1d68285b507d9483a95", "shasum": "" }, "require": { @@ -419,7 +419,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-03-10T15:34:39+00:00" + "time": "2024-03-20T20:09:13+00:00" }, { "name": "illuminate/conditionable", diff --git a/flake.nix b/flake.nix index cdee885..4e2246f 100644 --- a/flake.nix +++ b/flake.nix @@ -10,10 +10,21 @@ pkgs = nixpkgs.legacyPackages.${system}; inherit (pkgs) mkShell; + inherit (pkgs.php) buildComposerProject; in { devShells.${system}.default = mkShell { buildInputs = with pkgs; [ just php82 php82Packages.composer ]; }; + packages.${system}.default = buildComposerProject (finalAttrs: { + pname = "build-configs"; + version = "0.1.0"; + src = ./.; + + composerLock = ./composer.lock; + + vendorHash = "sha256-HElnPeC88D4kFp39/dikEd2XbqQ3xXOaDR0k48TB2tY="; + }); + formatter.${system} = pkgs.nixfmt; }; }