Commit Graph

31 Commits

Author SHA1 Message Date
Silvan Mosberger
c5f208d556
Add .cabal file, proper nix-build 2019-05-06 18:12:26 +02:00
Silvan Mosberger
b5fb7e31fb
Merge pull request #4 from Infinisil/darwin-ghc821
Darwin caches
2019-05-04 02:49:07 +02:00
Silvan Mosberger
525b61e05e
Adjust readme to reflect that Darwin has caches now too 2019-05-04 02:46:16 +02:00
Silvan Mosberger
dbc06837fd
Add script for checking the cache 2019-05-04 02:35:02 +02:00
Silvan Mosberger
3abea59f5b
Patch ghc821 to make it work on Darwin 2019-05-04 00:14:37 +02:00
Silvan Mosberger
57d3517ef3
Use nixpkgs versions for 821, 822 and 843 that work on darwin 2019-05-04 00:13:59 +02:00
Silvan Mosberger
1b027f4e48
update HIE to 0.9.0.0 2019-05-02 23:58:39 +02:00
Silvan Mosberger
b99852b79f
Fix the update script to work better with revisions 2019-05-02 21:05:33 +02:00
Silvan Mosberger
4adafcd78b
Fix updating for changing targets
Branches like master would now work
2019-05-01 23:56:15 +02:00
Silvan Mosberger
544ea0c96f
Fix infinite process recursion when no matching version found 2019-05-01 18:42:05 +02:00
Silvan Mosberger
beb50e4298
Merge pull request #3 from Infinisil/dynamically-linked
Dynamically link HIE for great TH speedup
2019-04-27 19:47:29 +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
504bb9c131
Add notes on build time improvements for upgradeS 2019-04-27 00:27:39 +02:00
Silvan Mosberger
916bd7d384
Reword readme intro 2019-04-26 17:17:55 +02:00
Silvan Mosberger
a780d9bf9f
Add note that only x86_64 linux currently has cached builds 2019-04-26 16:58:32 +02:00
Silvan Mosberger
40ac234837
Remove $ from commands in readme
These only make copy-pasting harder
2019-04-26 16:55:16 +02:00
Silvan Mosberger
d0ef64d08a
Update design doc 2019-04-26 16:53:34 +02:00
Silvan Mosberger
b09cf40a6b
Small formatting fix in readme 2019-04-26 16:21:43 +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
a87e60333a
Fix readme formatting 2019-04-26 02:39:28 +02:00
Silvan Mosberger
53d12d0b25
Move Todo list to GitHub issue 2019-04-26 02:34:07 +02:00
Silvan Mosberger
e8b017f9e8
Flesh out version selections, add Readme 2019-04-26 02:29:47 +02:00
Silvan Mosberger
d3449f79f0
Fix linguist to exclude generated files from the stats 2019-04-12 18:37:57 +02:00
Silvan Mosberger
b4e3c6174b
Add initially generated files for 0.8.0.0 2019-04-10 02:56:08 +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
c262b3d9b9
update.hs: Small improvements; use shell.nix file 2019-04-10 02:54:11 +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