Skip to content

Instantly share code, notes, and snippets.

@codedmart
Created June 3, 2015 14:24
Show Gist options
  • Select an option

  • Save codedmart/b881ae3cf3f59041bf86 to your computer and use it in GitHub Desktop.

Select an option

Save codedmart/b881ae3cf3f59041bf86 to your computer and use it in GitHub Desktop.
let
pkgs = import <nixpkgs> {};
stdenv = pkgs.stdenv;
config = import ~/.nixpkgs/config.nix {};
in rec {
haskellRethinkDB784 = stdenv.mkDerivation rec {
name = "haskell-rethinkdb-784";
buildInputs = [
config.ghc784
];
NIX_MYENV_NAME = "haskellRethinkDB784";
shellHook = "source ~/.bash_prompt";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment