Skip to content

Instantly share code, notes, and snippets.

@codedmart
Created June 3, 2015 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save codedmart/be28d5d91e897c571ebe to your computer and use it in GitHub Desktop.
Save codedmart/be28d5d91e897c571ebe to your computer and use it in GitHub Desktop.
{
packageOverrides = super: let self = super.pkgs; in
{
# Rethinkdb 2.0.0
rethinkDB200 = self.stdenv.lib.overrideDerivation self.rethinkdb (oldAttrs: {
name = "rethinkdb-2.0.0-1";
patches = if self.stdenv.isDarwin then [ ./rethinkdb-2.0.0-1/sedDarwin.patch ] else null;
});
# Rethinkdb 2.0.2
rethinkDB202 = self.stdenv.lib.overrideDerivation self.rethinkdb (oldAttrs: {
name = "rethinkdb-2.0.2-1";
src = self.fetchurl {
url = "http://download.rethinkdb.com/dist/rethinkdb-2.0.2.tgz";
sha256 = "17ljxj1v38dsr4q1p1vxagxp15n1c4834fyhxk1fpf2izix60676";
};
patches = if self.stdenv.isDarwin then [ ./rethinkdb-2.0.0-1/sedDarwin.patch ] else null;
});
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment