2017-09-24 20:20:02 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2020-03-31 19:59:31 +00:00
|
|
|
# This script bootstraps composer2nix with composer2nix
|
|
|
|
# To do this you need to vanilla composer package manager installed on your
|
|
|
|
# system. You can install composer from Nixpkgs as follows:
|
|
|
|
#
|
|
|
|
# nix-env -f '<nixpkgs>' -iA php phpPackages.composer
|
|
|
|
|
|
|
|
composer install
|
2017-10-25 18:51:35 +00:00
|
|
|
php bin/composer2nix --composer-env src/Composer2Nix/composer-env.nix --no-copy-composer-env --executable
|
2017-09-24 20:20:02 +00:00
|
|
|
rm -Rf vendor
|