From 869f20f95e051db08086ed88046d4630f528d867 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 15 Aug 2025 17:15:45 +0100 Subject: [PATCH] Add notes.txt --- nix/composer2nix/notes.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nix/composer2nix/notes.txt b/nix/composer2nix/notes.txt index e69de29..4021e56 100644 --- a/nix/composer2nix/notes.txt +++ b/nix/composer2nix/notes.txt @@ -0,0 +1,13 @@ +composer2nix --name composer2nix-example + +WARNING: There is a vendor/ folder in the root directory of the project! +This folder will be used by the Nix builder and influence the outcome! +If you don't want this to happen, then you should remove it before running +any of the Nix commands! + + +The above command produces three expressions: php-packages.nix containing the dependencies, composer-env.nix the build infrastructure and default.nix that can be used to compose the package from its dependencies. + + +nix-build +nix-build override.nix