Commit Graph
13 Commits
Author SHA1 Message Date
Moritz Angermann 9151dff3f3 Adds hooks 2018-11-26 17:26:18 +08:00
Moritz Angermann 40351aaeb2 Drop the overlay stuff 2018-11-18 16:19:19 +08:00
Moritz Angermann 5838e54278 Make sure we don't flood libraries with RPATHs on macOS 2018-11-18 16:18:56 +08:00
Moritz Angermann 9e804c6703 Update package.nix 2018-11-08 15:32:51 +08:00
Moritz Angermann f7c010387b This adds logic to better support stackage (stack-to-nix)
When using stackage as a baseline via stack-to-nix, we usually
assume stackage to be the base, and some augemnetation via
extra-dependencies and packages in the `stack.yaml` file.

To achive this we extend the package-set builder by allowing
a list of additional sets of package to speicied. These are then
folded onto the base package set.

As stackage seems to define the `rts` package as well, we force
`rts-1.0` to be null ontop of our hackage database.  As of
today (November 7th, 2018) there is no way of building the rts outside
of GHC; and as such no way to ever get the rts package onto hackage.

Once this package is *on* hackage, we can drop the hack.
2018-11-08 15:30:54 +08:00
Moritz Angermann 660cfbb3f7 make the stack logic work ... 2018-11-08 15:30:54 +08:00
Moritz Angermann ce32200e5c Update package.nix 2018-11-05 17:19:07 +08:00
Moritz Angermann 4437439f0e Add support for pathes
That is setting

```nix
{
  packages.$pkg.patches = [ ... ];
}
```

to set patches on a package.
2018-11-05 17:19:07 +08:00
Will Fancher f2b80ee3ef Cross compilation 2018-11-04 18:38:02 +08:00
Will Fancher 1bb2a42d3a Option for exact-config 2018-11-03 21:41:28 +08:00
Will Fancher d4cf3d2b32 Added a configuration-nix.nix file for plan-agnostic configuration 2018-11-01 13:33:41 +08:00
Will Fancher 9bbc69adf4 Don't null out all compiler.packages; only nonreinstallable packages 2018-11-01 13:33:41 +08:00
Will Fancher d18913eaa6 Use NixOS module system 2018-11-01 13:33:41 +08:00