about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/make-package-set.nix
Commit message (Collapse)AuthorAge
* haskell-modules: only include glibc locales when using glibcWill Dietz2018-07-17
| | | | | Fixes #43665. Hopefully. :)
* Haskell infra: Do callPackage splicingJohn Ericson2018-07-09
|
* haskell infra: Use `self.ghc` rather than closing over initial valueJohn Ericson2018-06-07
|
* Merge pull request #41330 from obsidiansystems/haskellSrc2nix-overridingJohn Ericson2018-05-31
|\ | | | | haskell infra: Allow overriding `haskellSrc2nix`
| * haskell infra: Allow overriding `haskellSrc2nix`John Ericson2018-05-31
| |
* | Merge pull request #40710 from ↵Peter Simons2018-05-22
|\ \ | | | | | | | | | | | | ElvishJerricco/overrideCabal-getHaskellBuildInputs Make getHaskellBuildInputs / shellFor work with overrideCabal (Fixes #40266)
| * | Make getHaskellBuildInputs / shellFor work with overrideCabalWill Fancher2018-05-17
| | |
* | | haskellPackages.developPackage: Add a defaulted provideDrv argumentJohn Wiegley2018-05-18
|/ / | | | | | | | | The purpose of this argument is to allow you to get at the derivation (rather than it's env) even when in the evaluation context of a nix-shell invocation.
* | callHackage: Keep deriver, like callCabal2nixWill Fancher2018-03-25
| |
* | callCabal2nix: Use host platform rather than build platform for evaluation ↵Ken Micklas2018-03-11
| | | | | | | | of Cabal files
* | haskell.lib.haskellSrc2nix: add extraCabal2nixOptionsRobert Hensing2018-03-09
| |
* | Haskell: Added haskellPackages.shellForWill Fancher2018-03-06
|/
* haskellPackages.callCabal2nix: Depend on the expression.Shea Levy2018-03-02
| | | | | | | This ensures that as long as the package derivation is alive, its nix expressions do not need to be regenerated. Fixes #36190.
* callCabal2nix: Fix filtering for non-cleanSourceable sources.Shea Levy2018-02-28
| | | | | | | What was here before wasn't correct anyway, and now it works in restricted mode. Fixes #35207
* Use static cabal2nix in callCabal2nixWill Fancher2018-02-11
|
* Add setFunctionArgs lib function.Shea Levy2018-01-31
| | | | | | Among other things, this will allow *2nix tools to output plain data while still being composable with the traditional callPackage/.override interfaces.
* Adds modifier option to developPackagepjan vandaele2018-01-30
|
* haskell lib: Make Cabal compiler names explicitBen Gamari2018-01-21
| | | | | | | Cabal2nix expects a --compiler flag that contains a Cabal Compiler description. We used to use the compiler's derivation name for this, but this breaks when cross-compiling due to the target suffix. Instead we add an explicit haskellCompilerName attribute to Haskell compiler derivations.
* haskell infra: nativeGhc != ghc.bootPkgs.ghcJohn Ericson2018-01-21
| | | | | There's no reason to wait for non-binary native to *build* cross ghc, but we want a nix-built GHC for Setup.hs or things won't work.
* Move packageSourceOverrides to haskellLibWill Fancher2018-01-18
|
* callCabal2nix: Fix calling with a path in the store.Shea Levy2018-01-11
|
* callCabal2nix: Use cleanSourceWith for composable filteringShea Levy2018-01-10
|
* ghcWithPackages: fix ghc version passingRobin Gloster2018-01-07
| | | | | | | | | | The correct ghc version was not passed through anymore, I'm not entirely sure this is the correct fix or if this is the only argument that was missing. broken by 5e31e828f88a8aa229d68bade00d9f2d70f7b9f8 cc @Ericson2314
* ghcWithPackages: Get rid of unused passthroughJohn Ericson2018-01-04
| | | | If you want the whole packages set...don't use ghcWithPackages.
* ghcWithPackages: Fix cross, and avoid needless C compilerJohn Ericson2018-01-03
|
* haskell infra: Fix cross as much as possible without changing hashesJohn Ericson2018-01-02
|
* Revert "hslib: Function to extract the haskell build inputs of a package."Peter Simons2017-12-28
| | | | | | This reverts commit d545ef3fa11198f12e525b641aeb33887694f97f. Please don't commit substantial changes to the generic Haskell builder without giving me a chance to review them.
* hslib: Function to extract the haskell build inputs of a package.Shea Levy2017-12-23
| | | | | | This works by extracting out some logic from generic-builder.nix to make it possible to get at the relevant information by overriding mkDerivation for the haskell package.
* callCabal2nix: Take advantage of new hpack support.Shea Levy2017-12-07
|
* Revert "Revive multiple outputs for Haskell packages."Peter Simons2017-12-05
|
* Revert "Revert "Merge pull request #27209 from nc6/nc/haskell-multiple-out""Nicholas Clarke2017-11-27
| | | | This reverts commit 89f5d52cf44baec14a7f542a605243777b16e7a5.
* Extract files one at a time from all-cabal-hashesWill Fancher2017-11-06
|
* Revert "Merge branch 'all-cabal-hashes-components'"Will Fancher2017-11-06
| | | | | This reverts commit ad6b8f438db055a73e64218b5f2ed3cbca963ae5, reversing changes made to 2d44e7280166256d8322546b11dcbe9b95f5bc5d.
* haskell-packages: fix all-cabal-hashes component lookupRyan Trinkle2017-10-24
| | | | Previously, if a package name in a later component was a substring of a package name in an earlier component, the earlier component would be selected due to a partial-name match. This commit prevents partial matches.
* callCabal2nix: Don't rebuild unchanged cabal file (Fixed #23880)Will Fancher2017-10-24
|
* Partition all-cabal-hashes into case-insensitive-safe components.Shea Levy2017-10-12
| | | | | | | OS X by default has a case-insensitive filesystem, and fetching all-cabal-hashes there fails due to a hash mismatch caused by package pairs like compactable and Compactable. This partitions the package set such that each partition contains no equivalent-up-to-case pairs.
* Revert "Merge branch 'improved-make-overridable' of ↵Shea Levy2017-09-29
| | | | | | | git://github.com/ElvishJerricco/nixpkgs" This reverts commit c3af1210b4c5d7ef380e75add463b37574fdcc8b, reversing changes made to 49f175cd0c80a39e1d05fc687c4a2a40e0aba58c.
* Merge branch 'master' into improved-make-overridableWill Fancher2017-09-12
|\
| * Revert "Merge pull request #27209 from nc6/nc/haskell-multiple-out"Peter Simons2017-09-06
| | | | | | | | | | | | | | | | | | | | This reverts commit dfb0f254844150d05d34150a975e6479b883d409, reversing changes made to 7f8ff024372f985e96b438fa5591d9b43fc6e7bd. These changes broke the ghcWithPackages wrapper: nix-shell -p "haskellPackages.ghcWithPackages (ps: [ps.mtl])" --run "ghc-pkg list mtl" /nix/store/szz84j5k1dy3jdashis6ws28d8l8zxxb-ghc-8.0.2-with-packages/lib/ghc-8.0.2/package.conf.d (no packages)
| * Merge pull request #28478 from obsidiansystems/haskell-custom-stdenvPeter Simons2017-09-05
| |\ | | | | | | haskell infra: Make sure packages get custom stdenv
| | * haskell infra: Make sure packages get custom stdenvJohn Ericson2017-08-22
| | | | | | | | | | | | | | | | | | | | | One of the goals of 74f5fe5 was to allow passing in a custom stdenv, which would be used for genericBuilder's `mkDerivation` call. That does work, but if packages takes `stdenv` as an parameter for any reason, they'll get the default one instead. This change remedies it.
| * | Disable separate etc output for hscolour.Nicholas Clarke2017-09-04
| | | | | | | | | | | | | | | | | | This is not needed, since `hscolour` has no output to `/etc`, and it breaks certain old builds (see https://hydra.nixos.org/build/57925511) because the older cabal used does not understand this flag.
* | | Merge branch 'master' into improved-make-overridableWill Fancher2017-08-26
|\| |
| * | pkgs/haskell-modules: two small vanity fixesProfpatsch2017-08-06
| |/
| * haskell infra: Misc cleanupsJohn Ericson2017-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | - The haskell lib is very close to not relying on Nixpkgs. I think this is good---simpler to think about and matches Nixpkgs's lib. - The haskell lib is only imported once - stdenv is exposed more shallowly so it can be overriden more easily. I'll eventually use this on Darwin to avoid the Sierra shared library problems (unless changes are to be made system-wide). Closes https://github.com/NixOS/nixpkgs/pull/27840.
* | Added `overrideScope` for `callPackageWith`Will Fancher2017-07-13
|/ | | | Consequently removing several ad-hoc definitions of the same concept.
* stdenv: add stawman docs for `makeOverridable`Gleb Peregud2017-06-24
| | | | Also fix a typo in docs in haskell-modules.
* haskellPackages.developPackage: Add overrides argumentShea Levy2017-06-12
|
* Add haskellPackages.developPackage for local development default.nixesShea Levy2017-06-10
|
* Add packageSourceOverrides function to haskell package setsShea Levy2017-06-10
|