##// END OF EJS Templates
caches: use repo.lru based Dict cache. This LRUDict uses Timing Algo to not have to use locking...
caches: use repo.lru based Dict cache. This LRUDict uses Timing Algo to not have to use locking for the LRU implementation, this it's safer to use for dogpile. We used it before with beaker, so it's generally more stable.
marcink -
r2945:ec5716e4 default
Show More
Name Size Modified Last Commit Author
/ pkgs
nix-common
patch_beaker
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

rm -rf node_modules
nix-shell pkgs/shell-generate.nix --command "
    node2nix --input package.json \
             -o pkgs/node-packages.nix \
             -e pkgs/node-env.nix \
             -c pkgs/node-default.nix \
             -d --flatten --nodejs-6 "

Bower dependencies

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