nix: added custom build to allow turning off the sandbox
This commit is contained in:
parent
ab98ff6155
commit
2ae82b544e
1 changed files with 5 additions and 2 deletions
7
Makefile
7
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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue