mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-16 11:26:08 +00:00
release.nix: refactor displays
This commit is contained in:
parent
6058cd4fac
commit
0d454acc4d
17
release.nix
17
release.nix
@ -26,21 +26,8 @@ let
|
||||
ihaskell-display-src = filterSource cleanSource ./ihaskell-display;
|
||||
displays = self: listToAttrs (
|
||||
map
|
||||
(display: { name = display; value = self.callCabal2nix display "${ihaskell-display-src}/${display}" {}; })
|
||||
[
|
||||
"ihaskell-aeson"
|
||||
"ihaskell-blaze"
|
||||
"ihaskell-charts"
|
||||
"ihaskell-diagrams"
|
||||
"ihaskell-gnuplot"
|
||||
"ihaskell-hatex"
|
||||
"ihaskell-juicypixels"
|
||||
"ihaskell-magic"
|
||||
"ihaskell-plot"
|
||||
"ihaskell-rlangqq"
|
||||
"ihaskell-static-canvas"
|
||||
"ihaskell-widgets"
|
||||
]);
|
||||
(display: { name = "ihaskell-${display}"; value = self.callCabal2nix display "${ihaskell-display-src}/ihaskell-${display}" {}; })
|
||||
[ "aeson" "blaze" "charts" "diagrams" "gnuplot" "hatex" "juicypixels" "magic" "plot" "rlangqq" "static-canvas" "widgets" ]);
|
||||
haskellPackages = nixpkgs.haskell.packages."${compiler}".extend (self: super: {
|
||||
ihaskell = nixpkgs.haskell.lib.overrideCabal (
|
||||
self.callCabal2nix "ihaskell" ihaskell-src {}) (_drv: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user