Skip to content

Instantly share code, notes, and snippets.

@meditans meditans/reflex-dom.nix Secret
Created Jul 6, 2019

Embed
What would you like to do?
self: super: {
# Here's how to change or pin z3's version if we ever need to do that.
#
# z3 = super.z3.overrideAttrs (oa: {
# src = self.fetchFromGitHub {
# owner = "Z3Prover";
# repo = "z3";
# rev = "z3-4.8.4";
# sha256 = "014igqm5vwswz0yhz0cdxsj3a6dh7i79hvhgc3jmmmz3z0xm1gyn";
# };
# });
haskellPackages = super.haskellPackages.extend (selfHS: superHS:
with self.haskell.lib;
with self.lib;
({
reflex =
# TODO: USE OVERRIDECABAL (overrideCabal)
dontCheck
(flip appendConfigureFlag "-f-use-template-haskell"
(flip self.haskellPackages.callHackageDirect {}
{ pkg = "reflex";
ver = "0.6.1";
sha256 = "07y6gqa3vk1b0ns1q6lzmd5q8xvxb5sxrnfnsa7khqgbm30bj8a3";
}));
reflex-dom-core =
doJailbreak
(dontCheck
(flip self.haskellPackages.callPackage {}
"/home/carlo/code/haskell/forks/reflex-dom-core-0.5"));
reflex-dom = flip addExtraLibrary selfHS.jsaddle-warp
(doJailbreak
(dontCheck
(flip appendConfigureFlags ["-fuse-warp" "-f-webkit2gtk"]
(flip self.haskellPackages.callHackageDirect {}
{ pkg = "reflex-dom";
ver = "0.5";
sha256 = "0sfmsyz8h5gm0m3rkyzflnb2cya9myv6zifkwx7i170l54q8j9z4";
}))));
z3 =
doJailbreak
(dontCheck
(flip super.haskellPackages.callPackage { z3 = super.pkgs.z3; }
"/home/carlo/code/haskell/forks/haskell-z3"));
jsaddle-warp = dontCheck (superHS.jsaddle-warp);
haskell-gi-overloading = self.haskellPackages.haskell-gi-overloading_0_0;
chrome-test-utils = null;
jsaddle-webkit2gtk = null;
}));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.