Skip to content

Instantly share code, notes, and snippets.

@seanparsons
Created August 4, 2016 12:32
Show Gist options
  • Save seanparsons/9e6ff5b2a0c2e41514ef44b2e7808772 to your computer and use it in GitHub Desktop.
Save seanparsons/9e6ff5b2a0c2e41514ef44b2e7808772 to your computer and use it in GitHub Desktop.
let
pkgs = import <nixpkgs> {};
name = "test";
in pkgs.myEnvFun {
buildInputs = [
pkgs.haskell.packages.ghcjs.ghcWithPackages(p: with p; [ ghcjs-base ghcjs-dom lens text ])
pkgs.nodejs
];
inherit name;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment