about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/generic-stack-builder.nix
AgeCommit message (Collapse)AuthorFilesLines
2021-01-19treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nixJonathan Ringer1-2/+2
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
2019-11-14buildStackProject: Set __noChroot to make it fail without sandboxSilvan Mosberger1-0/+4
Building such a derivation will result in error: derivation '/nix/store/nk4wms3hk4mp9lc86k30vc8w44fcq0rj-foo.drv' has '__noChroot' set, but that's not allowed when 'sandbox' is 'true' when attempting to build it without --option sandbox false
2019-08-11haskell.buildStackProject: Pass nativeBuildInputsKirill Elagin1-1/+3
2019-01-07haskell.buildStackProject: use setup hookMatthew Bauer1-29/+36
This makes things easier and hopefully fixes the arg too long issue. Fixes #49206.
2018-08-07Add support for user-extensible shellHook to buildStackProjectUrban Skudnik1-1/+1
buildStackProject is overridding shell hook and doesn't append user-specified shellHook to it, resulting in user's shellHook never executing.
2018-07-17haskell-modules: only include glibc locales when using glibcWill Dietz1-1/+1
Fixes #43665. Hopefully. :)
2018-05-09generic-stack-builder: also support nix-buildMatthew Justin Bauer1-9/+14
We need to add the STACK_IN_NIX_EXTRA_ARGS hook in configurePhase also to ensure we get the right args when calling ```nix-build``` (as opposed to nix-shell).
2018-05-09generic-stack-builder: attempt to add propagationMatthew Bauer1-4/+11
Fixes #40039 This adds a shellHook to handle propagated dependencies like that seen in #40039 where gpgme needed libgpg-error.
2017-11-01Fix buildStackProject in nix-buildWill Fancher1-6/+8
2017-06-15Fix #26441 second try: avoid infinite recursionDomen Kožar1-2/+2
2017-06-15Revert "Fix #26441: avoid infinite recursion"Domen Kožar1-2/+2
This reverts commit 9cad7076d1bc5475a857fd2c6e9a56d9ed254252. See https://github.com/NixOS/nixpkgs/commit/9cad7076d1bc5475a857fd2c6e9a56d9ed254252#commitcomment-22548331
2017-06-14Fix #26441: avoid infinite recursionDomen Kožar1-2/+2
2017-04-26generic Haskell builder: Don't call `stack setup`.Niklas Hambüchen1-1/+0
`stack setup` should not be called inside `nix-build` because that makes stack download a GHC instead of using nix's one (the one provided `generic-stack-builder.nix` as the `ghc` argument), which will not work. Further evidence for this is that the `stack --nix` support intentionally uses `--system-ghc` for the same purpose.
2017-02-03haskell.lib.buildStackProject: fix #22386Domen Kožar1-1/+1
2017-02-01buildStackProject: set GIT_SSL_CAINFO and LANGDomen Kožar1-0/+6
2016-09-10Merge pull request #17997 from teozkr/fix/buildstackproject-stackrootPeter Simons1-1/+4
buildStackProject: Fix missing STACK_ROOT causing build errors
2016-08-29Haskell stack nix shell: using lib.getLib/Dev nowYPares1-2/+3
2016-08-25buildStackProject: Fix missing STACK_ROOT causing build errorsTeo Klestrup Röijezon1-1/+4
2016-06-15haskell: generic-stack-builder sets an env varYPares1-0/+1
generic-stack-builder was not setting STACK_PLATFORM_VARIANT="nix". This is required by stack when handling its haskell packages database snapshot. Stack must keep separated packages built with its own GHC and those built with GHC from Nixpkgs.
2016-06-13haskell.lib.buildStackProject: fix treatment of LD_LIBRARY_PATH.Mathieu Boespflug1-2/+2
Don't make LD_LIBRARY_PATH pick up cwd when original string is empty, due to colon terminated search path.
2016-06-13haskell.lib.buildStackProject: allow passing in a custom GHC version.Mathieu Boespflug1-0/+1
Previously, the user could only compile using the default version of GHC in Nixpkgs. Now this can be changed by setting the `ghc` attribute appropriately.
2016-03-04haskell-generic-stack-builder: strip trailing whitespacePeter Simons1-1/+1
2016-03-04haskell: Rename file where buildStackProject is defined.Mathieu Boespflug1-0/+40