13 lines
536 B
Text
13 lines
536 B
Text
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
|