Created
October 5, 2018 21:23
-
-
Save chessai/a7ead8a6744195b85c5d7664ce591c25 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ frontend ? false # Whether or not to enable the frontend | |
, compiler ? if frontend then "ghcjs84" else "ghc843" # compiler we are using | |
, closure ? false # Whether or not to use the closure compiler | |
, prepack ? false # Whether or not to use prepack | |
, gzipJS ? false # Whether or not to compress the JS | |
, gzipCSS ? false # Whether or not to compress the CSS | |
}: | |
with rec { | |
fetchNixpkgs = import ./fetchNixpkgs.nix; | |
nixpkgs = fetchNixpkgs { | |
rev = "3f98dd18cafcd068bb2fb181f53212b07064aa36"; | |
sha256 = "0r2x8nnbk89pwbramjvfjyjd7zcp9lg1x7d5q9wkncp9b2pmmzpk"; | |
}; | |
pkgs = import nixpkgs { | |
config = { | |
packageOverrides = super: let self = super.pkgs; in { | |
overrides = import ./reflex.nix { pkgs = self; }; | |
}; | |
}; | |
overlays = []; | |
}; | |
}; | |
rec { | |
inherit pkgs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment