Commit Graph

12 Commits

Author SHA1 Message Date
Silvan Mosberger
b8c0a965e1
Change Nix file to work with multiple versions 2019-05-22 23:02:06 +02:00
Silvan Mosberger
8a3a0c0202
Add support for different revisions in the update script 2019-05-06 19:06:53 +02:00
Silvan Mosberger
544ea0c96f
Fix infinite process recursion when no matching version found 2019-05-01 18:42:05 +02:00
Silvan Mosberger
ab36b3209b
Dynamically link HIE for great TH speedup
See https://github.com/domenkozar/hie-nix/issues/59

Thanks to @mpickering for pointing this out
2019-04-27 19:46:53 +02:00
Silvan Mosberger
7957ff7306
Fix combined version when only one version is selected
In that case, buildEnv would say "Let's link /bin directly", which
doesn't work for this because we need to remove $out/bin/hie-wrapper and
replace it.
2019-04-26 16:14:21 +02:00
Silvan Mosberger
d4ad12cae0
Redo combined to use a single derivation after all
It's nicer to see what binaries it produced directly
2019-04-26 15:31:27 +02:00
Silvan Mosberger
fa5265d44f
Add some comments to the HIE overrides 2019-04-26 02:58:21 +02:00
Silvan Mosberger
e8b017f9e8
Flesh out version selections, add Readme 2019-04-26 02:29:47 +02:00
Silvan Mosberger
8e6a43ed2d
default.nix: Refactor big time, not quite done yet though 2019-04-10 02:55:19 +02:00
Silvan Mosberger
22e6e19124
Embed versions in derivation names; add binaries for stack2nix 2019-04-06 20:03:06 +02:00
Silvan Mosberger
ba4e8c7ad5
Faster, more succeeding builds, better everything
- Now fetching nixpgks with fetchFromGitHub by computing and saving the
sha256 at update time
- Detecting core GHC libraries and setting them to null to fix builds,
workaround for https://github.com/input-output-hk/stack2nix/issues/134
- Add override directory to fix builds for specific ghc versions
- Speed up builds by disabling library profiling for everything
- New nix file structure with powerful selection mechanisms
2019-04-06 06:44:02 +02:00
Silvan Mosberger
199a76bb2a
Initial version 2019-04-05 08:07:08 +02:00