Skip to content

Instantly share code, notes, and snippets.

@thoughtpolice
Forked from codedmart/config.nix
Last active August 29, 2015 14:22
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 thoughtpolice/4ff13d975899488cc54f to your computer and use it in GitHub Desktop.
Save thoughtpolice/4ff13d975899488cc54f to your computer and use it in GitHub Desktop.
{
packageOverrides = super: let self = super.pkgs; in
rec {
version1 = "2.0.0";
version2 = "2.0.2";
# Rethinkdb 2.0.0
rethinkDB200 = self.stdenv.lib.overrideDerivation self.rethinkdb (oldAttrs: {
name = "rethinkdb-${version1}-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-${version2}-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