diff options
author | Dennis Gosnell <cdep.illabout@gmail.com> | 2019-11-14 11:51:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-14 11:51:43 +0900 |
commit | d0c73e88b3f9a50356f50c5d2db9a93b579139df (patch) | |
tree | 239a132d2268ef140c6b09c1b835be72e95360f1 /doc | |
parent | 5057d2f95042eccea1667c3cb7355c8a54bb066c (diff) | |
parent | 27e7b9a31d8b0377797c527d133019268ee0420d (diff) | |
download | nixpkgs-d0c73e88b3f9a50356f50c5d2db9a93b579139df.tar nixpkgs-d0c73e88b3f9a50356f50c5d2db9a93b579139df.tar.gz nixpkgs-d0c73e88b3f9a50356f50c5d2db9a93b579139df.tar.bz2 nixpkgs-d0c73e88b3f9a50356f50c5d2db9a93b579139df.tar.lz nixpkgs-d0c73e88b3f9a50356f50c5d2db9a93b579139df.tar.xz nixpkgs-d0c73e88b3f9a50356f50c5d2db9a93b579139df.tar.zst nixpkgs-d0c73e88b3f9a50356f50c5d2db9a93b579139df.zip |
Merge pull request #73362 from Infinisil/buildStackProjectChroot
buildStackProject: Set __noChroot to make it fail without sandbox
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/haskell.section.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/languages-frameworks/haskell.section.md b/doc/languages-frameworks/haskell.section.md index 1e677450aa1..7cbac95f7d4 100644 --- a/doc/languages-frameworks/haskell.section.md +++ b/doc/languages-frameworks/haskell.section.md @@ -398,7 +398,9 @@ nix: For more on how to write a `shell.nix` file see the below section. You'll need to express a derivation. Note that Nixpkgs ships with a convenience wrapper function around `mkDerivation` called `haskell.lib.buildStackProject` to help you -create this derivation in exactly the way Stack expects. All of the same inputs +create this derivation in exactly the way Stack expects. However for this to work +you need to disable the sandbox, which you can do by using `--option sandbox relaxed` +or `--option sandbox false` to the Nix command. All of the same inputs as `mkDerivation` can be provided. For example, to build a Stack project that including packages that link against a version of the R library compiled with special options turned on: |