nix: added custom build to allow turning off the sandbox

This commit is contained in:
Marcin Kuzminski 2020-05-15 08:57:01 +02:00
parent ab98ff6155
commit 2ae82b544e

View file

@ -1,5 +1,5 @@
.PHONY: clean docs docs-clean docs-cleanup test test-clean test-only test-only-postgres test-only-mysql web-build generate-pkgs pip-packages
.PHONY: clean docs docs-clean docs-cleanup test test-clean test-only test-only-postgres test-only-mysql web-build generate-pkgs pip-packages build-nix
NODE_PATH=./node_modules
WEBPACK=./node_binaries/webpack
@ -66,4 +66,7 @@ generate-js-pkgs:
generate-license-meta:
nix-build pkgs/license-generate.nix -o result-license && \
cat result-license/licenses.json | python -m json.tool > rhodecode/config/licenses.json
cat result-license/licenses.json | python -m json.tool > rhodecode/config/licenses.json
build-nix:
nix-build --show-trace --option sandbox false --option max-jobs 4 --option cores 4