* Show test output with postgrest-test-spec* in nix-shell * Test output in color
22 lines
457 B
Nix
22 lines
457 B
Nix
with (import ./default.nix);
|
|
pkgs.lib.overrideDerivation env (
|
|
base: {
|
|
buildInputs =
|
|
base.buildInputs ++ [
|
|
pkgs.cabal-install
|
|
pkgs.stack
|
|
pkgs.cabal2nix
|
|
pkgs.postgresql
|
|
nixpkgsUpgrade
|
|
tests
|
|
];
|
|
|
|
shellHook =
|
|
''
|
|
# Set our pinned version of Nixpkgs in the NIX_PATH so that
|
|
# `stack --nix` also uses that version.
|
|
NIX_PATH="nixpkgs=${pinnedPkgs}"
|
|
'';
|
|
}
|
|
)
|