| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Fixes #43665.
Hopefully. :)
|
| |
|
| |
|
|\
| |
| | |
haskell infra: Allow overriding `haskellSrc2nix`
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
ElvishJerricco/overrideCabal-getHaskellBuildInputs
Make getHaskellBuildInputs / shellFor work with overrideCabal (Fixes #40266)
|
| | | |
|
|/ /
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
of Cabal files
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
This ensures that as long as the package derivation is alive, its nix
expressions do not need to be regenerated.
Fixes #36190.
|
|
|
|
|
|
|
| |
What was here before wasn't correct anyway, and now it works in
restricted mode.
Fixes #35207
|
| |
|
|
|
|
|
|
| |
Among other things, this will allow *2nix tools to output plain data
while still being composable with the traditional
callPackage/.override interfaces.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
If you want the whole packages set...don't use ghcWithPackages.
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit d545ef3fa11198f12e525b641aeb33887694f97f. Please don't
commit substantial changes to the generic Haskell builder without giving me a
chance to review them.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
This reverts commit 89f5d52cf44baec14a7f542a605243777b16e7a5.
|
| |
|
|
|
|
|
| |
This reverts commit ad6b8f438db055a73e64218b5f2ed3cbca963ae5, reversing
changes made to 2d44e7280166256d8322546b11dcbe9b95f5bc5d.
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
git://github.com/ElvishJerricco/nixpkgs"
This reverts commit c3af1210b4c5d7ef380e75add463b37574fdcc8b, reversing
changes made to 49f175cd0c80a39e1d05fc687c4a2a40e0aba58c.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |\
| | |
| | | |
haskell infra: Make sure packages get custom stdenv
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\| | |
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
|/
|
|
| |
Consequently removing several ad-hoc definitions of the same concept.
|
|
|
|
| |
Also fix a typo in docs in haskell-modules.
|
| |
|
| |
|
| |
|