##// END OF EJS Templates
nix: updated to 18.03 nix packages...
nix: updated to 18.03 nix packages - dependencies: updated setuptools-scm to 2.1.0 - new strucutre - cleanups and optimize of build chain
marcink -
r2824:5ac461b5 default
Show More
Name Size Modified Last Commit Author
/ pkgs
README.rst Loading ...
bower-packages.nix Loading ...
node-default.nix Loading ...
node-env.nix Loading ...
node-packages.nix Loading ...
python-packages-overrides.nix Loading ...
python-packages.nix Loading ...
shell-generate.nix Loading ...

Generate the Nix expressions

Details can be found in the repository of RhodeCode Enterprise CE inside of the file docs/contributing/dependencies.rst.

Start the environment as follows:

nix-shell pkgs/shell-generate.nix

Python dependencies

pip2nix generate --licenses
# or
nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"

NodeJS dependencies

# switch to pkgs dir
pushd pkgs
node2nix --input ../package.json \
         -o node-packages.nix \
         -e node-env.nix \
         -c node-default.nix \
         -d --flatten --nodejs-6

Bower dependencies

bower2nix bower.json pkgs/bower-packages.nix
# or
nix-shell pkgs/shell-generate.nix --command "bower2nix bower.json pkgs/bower-packages.nix"