Skip to content

Instantly share code, notes, and snippets.

@chessai
Created October 5, 2018 21:39
Show Gist options
  • Save chessai/97693ce4d439b65560e3a25fd4733f5c to your computer and use it in GitHub Desktop.
Save chessai/97693ce4d439b65560e3a25fd4733f5c to your computer and use it in GitHub Desktop.
{ 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";
};
reflex-platform = import ./reflex.nix;
pkgs = import nixpkgs {
config = { };
overlays = [ reflex-platform ];
};
};
rec {
inherit pkgs;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment