Merge pull request #73362 from Infinisil/buildStackProjectChroot

buildStackProject: Set __noChroot to make it fail without sandbox
This commit is contained in:
Dennis Gosnell
2019-11-14 11:51:43 +09:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@@ -20,6 +20,10 @@ let
in stdenv.mkDerivation (args // {
# Doesn't work in the sandbox. Pass `--option sandbox relaxed` or
# `--option sandbox false` to be able to build this
__noChroot = true;
buildInputs = buildInputs
++ lib.optional (stdenv.hostPlatform.libc == "glibc") glibcLocales;