Created
April 27, 2018 21:58
-
-
Save o1lo01ol1o/ab5f0a718b02fa51bb3d8daedda9059a to your computer and use it in GitHub Desktop.
transient-universe and nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# default.nix | |
{}: | |
(import ./reflex-platform{}).project ({ pkgs, ... }: | |
{ | |
packages = { | |
common = ./common; | |
backend = ./backend; | |
frontend = ./frontend; | |
}; | |
shells = { | |
ghc = ["common" "backend" "frontend"]; | |
ghcjs = ["common" "frontend"]; | |
}; | |
overrides = self: super: { | |
transient-universe-tls = self.callCabal2nix "transient-universe-tls" (pkgs.fetchFromGitHub { | |
owner = "transient-haskell"; | |
repo = "transient-universe-tls"; | |
rev = "043ae1afea19870187dc6ff2c0a115580a8d1c64"; | |
sha256 = "0bj3vh5laxbmdj5qlb7fqwb8jrcppsywa089wk27ix0srspxv38k"; | |
fetchSubmodules = true; | |
}) {}; | |
transient-universe = | |
let checked = self.callCabal2nix "transient-universe" (pkgs.fetchFromGitHub { | |
owner = "transient-haskell"; | |
repo = "transient-universe"; | |
rev = "21c1a798e3f19dc00cdce45ae8c799af840c6bcb"; | |
sha256 = "02yzinrgnalqzgl8nqcrazvabbdrwp8nypgdyx2jdanq4rcrafr1"; | |
fetchSubmodules = true; | |
}) {}; | |
in (pkgs.haskell.lib.dontCheck checked) ; | |
transient = self.callCabal2nix "transient" (pkgs.fetchFromGitHub { | |
owner = "transient-haskell"; | |
repo = "transient"; | |
rev = "a08138bc7af64c073e268e54a7187829eb3106e6"; | |
sha256 = "1gikpmk4ldjafr2i0knykclam0bqmgbq9c7skjsqsaq0sa68rjx3"; | |
fetchSubmodules = true; | |
}) {}; | |
# axiom = self.callCabal2nix "axiom" (pkgs.fetchFromGitHub { | |
# owner = "transient-haskell"; | |
# repo = "axiom"; | |
# rev = "d8965b6fd5686c7de0c635658f63ff14c8c0eb69"; | |
# sha256 = "1ha2ih3f6yp8z7pazlw5ny0c0h35niqs4vlqn6fb720b4x3si6m2"; | |
# fetchSubmodules = true; | |
# }) {}; | |
# ghcjs-base = self.callCabal2nix "ghcjs-base" (pkgs.fetchFromGitHub { | |
# owner = "ghcjs"; | |
# repo = "ghcjs-base"; | |
# rev = "92bfcf42ffddb9676c4e288efd5750a06c4f4799"; | |
# sha256 = "14ndxrp2xsa0jz75zdaiqylbkzq8p7afg78vv418mv2c497rj08z"; | |
# fetchSubmodules = true; | |
# }) {}; | |
}; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment