Advertisement
Guest User

Untitled

a guest
Oct 12th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. { nixpkgs ? import <nixpkgs> {}, compiler ? "ghcjs" }:
  2. let
  3. inherit (nixpkgs) pkgs;
  4. ghc = pkgs.haskell.packages.${compiler}.ghcWithPackages (ps: with ps; [
  5. ghcjs-base
  6. ]);
  7. in
  8. pkgs.stdenv.mkDerivation {
  9. name = "default";
  10. buildInputs = [ ghc ];
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement