Hi Richard,
Everytime I try and override a package with ghcWithPackages, it ends
up rebuilding every Haskell library. For instance, I have this
shell.nix https://gist.github.com/purefn/026625ad116b05ff9a8d.
I cannot reproduce this phenomenon. I saved your configuration to default.nix
|
Hi Peter,
I don't think I was very clear, sorry about that. The thing that I'm
seeing is that when I run `nix-build default.nix -A AesonBson` with no
overrides, as in this `default.nix`
| with (import nixpkgs {}).pkgs;
| let
| modifiedHaskellPackages = haskellngPackages.override {
|
Hi Richard,
I had hoped/expected that only AesonBson would need to be rebuilt and
not things like text and friends.
yes, that is exactly what should happen (and that's exactly what's
happening on my system).
What does your ~/.nixpkgs/config.nix file look like?
Also, can you please try
I feel like I must be missing something, because everytime I try and
override a package with ghcWithPackages, it ends up rebuilding every
Haskell library. For instance, I have this shell.nix
https://gist.github.com/purefn/026625ad116b05ff9a8d.
In this case, I've overridden the AesonBson package
Hi Thomas,
How can I override a package to enable profiling?
commit [1] adds helper functions that allow referring to any package foo
as enableLibraryProfiling foo to get a variant that supports profiling.
If you want to enable profiling for *all* packages, then you can replace
the
On Sun, Jan 11, 2015 at 1:41 PM, Peter Simons sim...@cryp.to wrote:
The topic of today's posting is: Fixing Build Failures!
I know all about Cabal builds. How can I override a Nix build environment?
--
Every Haskell
The topic of today's posting is: Fixing Build Failures!
I know all about Cabal builds. How can I override a Nix build environment?
--
Every Haskell expression expects an argument called mkDerivation -- the
function that
Thanks, that's super useful!
One more question: How would I get older versions of certain packages (e.g.
I need optparse-applicative 0.10 for elm-make) into hackage-packages.nix?
~
On 11 January 2015 at 19:41, Peter Simons sim...@cryp.to wrote:
The topic of today's posting is: Fixing Build
Hi Thomas,
How would I get older versions of certain packages (e.g. I need
optparse-applicative 0.10 for elm-make) into hackage-packages.nix?
by adding optparse-applicative == 0.10.* to the 'extraPackages' list at
https://github.com/NixOS/cabal2nix/blob/master/src/hackage2nix.hs#L153-158.