Skip to content

RMTT/greenplum.nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greenplum for nix

Prerequisite

Usage

Install Greenplum Package

nix registry add greenplum github:RMTT/greenplum.nix

Now, you can install some gpdb versions which have been defined in this repo:

nix search greenplum

To install greenplum db:

nix profile install {greenplum version}

To start shell with specific greenplum version:

nix shell greenplum#{greenplum version}

Use Greenplum development envrionment

Enter environment:

nix develop greenplum#{greenplum version}

Steps

  • set out environment to your prefix(default is $(pwd)/outputs/out
  • run configurePhase
  • run buildPhase
  • run installPhase
  • run fixupPhase
  • now gpdb has installed to $out

FAQ

Problem 1: cannot find locale

Solution:

  • set locale_archive
  • set ssh send environments: LANG LC_ALL LOCALE_ARCHIVE on ssh client and server

About

Nix channel for Greenplum development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published