mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-09-11 04:25:40 +03:00
* Update the nixpkgs pinned version and move to explicit json file. Upgrade tasty-wai and waargonaut. Update affected levels * Update versions in stack file. * Add sop-core to stack.yaml * Separate out overlays Clean up default.nix * Clean up `parseJSONConfigFile` with new Waargy goodness
19 lines
551 B
Nix
19 lines
551 B
Nix
let
|
|
sources = {
|
|
tasty-wai = import ./nix/tasty-wai.nix;
|
|
waarg = import ./nix/waargonaut.nix;
|
|
};
|
|
|
|
waarg-deps = import "${sources.waarg}/waargonaut-deps.nix";
|
|
|
|
course = self: super: {
|
|
haskellPackages = super.haskellPackages.override (old: {
|
|
overrides = super.lib.composeExtensions (old.overrides or (_: _: {})) (hself: hsuper: {
|
|
tasty-wai = hself.callCabal2nix "tasty-wai" sources.tasty-wai {};
|
|
waargonaut = hself.callCabal2nix "waargonaut" sources.waarg {};
|
|
});
|
|
});
|
|
};
|
|
in
|
|
[ waarg-deps course ]
|
|
|