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}
Enter environment:
nix develop greenplum#{greenplum version}
- 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
Solution:
- set locale_archive
- set ssh send environments:
LANG
LC_ALL
LOCALE_ARCHIVE
on ssh client and server