Skip to content

Instantly share code, notes, and snippets.

@lf-

lf-/default.nix Secret

Created July 6, 2020 04:49
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 lf-/8747f0c1f7b9a30d77f22e7fd47be419 to your computer and use it in GitHub Desktop.
Save lf-/8747f0c1f7b9a30d77f22e7fd47be419 to your computer and use it in GitHub Desktop.
{ compiler ? "ghc865",
ghcjs ? "ghcjs"
}:
let nixpkgs = import (builtins.fetchTarball {
name = "nixpkgs-20.03-2020-06-28";
url = "https://github.com/NixOS/nixpkgs/archive/f8248ab6d9e69ea9c07950d73d48807ec595e923.zip";
sha256 = "009i9j6mbq6i481088jllblgdnci105b2q4mscprdawg3knlyahk";
}) {
overlays = [
import ./client.nix { inherit ghcjs; }
#import ./server.nix { inherit ghcjs compiler; }
];
};
in {
client = nixpkgs.haskell.${ghcjs}.Carnap-GHCJS;
#server = nixpkgs.haskell.${ghcjs}.Carnap-Server;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment