Basics for building PostgREST with Nix (#1489)

* Add GHC options used with stack to postgrest.cabal

* Add a Nix derivation for just the executable.
This commit is contained in:
Remo
2020-04-21 11:59:00 -05:00
committed by GitHub
parent ae77cf9a08
commit 24db4a1e25
8 changed files with 223 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
with (import ./default.nix);
pkgs.lib.overrideDerivation env (
base: {
buildInputs =
base.buildInputs ++ [
pkgs.cabal-install
pkgs.cabal2nix
pkgs.postgresql
nixpkgsUpgrade
];
}
)