Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created June 6, 2019 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/e6ce3491027792cab82a2b640ec69979 to your computer and use it in GitHub Desktop.
Save cleverca22/e6ce3491027792cab82a2b640ec69979 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
let
deps = hs: [ hs.network ];
ghc = pkgs.haskell.packages.ghc865.ghcWithPackages deps;
ghcjs = pkgs.haskell.packages.ghcjs.ghcWithPackages deps;
in stdenv.mkDerivation {
name = "both";
buildInputs = [ ghc ghcjs ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment