# HG changeset patch # User Marcin Kuzminski # Date 2020-05-15 06:57:01 # Node ID 53320c4a77b87a729ea1bce0fae79a96b0c74cd9 # Parent 5b3782ddad7379d431fa1f4ca2f29d4bd3545b98 nix: added custom build to allow turning off the sandbox diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file + 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