Skip to content

Instantly share code, notes, and snippets.

Avatar

Sebastian Stephan sebastian-stephan

View GitHub Profile
View testether
0x551Da1Ef950A18f4ba735213d7ca2Bd15ffd7275
View kovanether
0x00106c8E699200DDbf2b6e1Ed7970A662A12d208
@sebastian-stephan
sebastian-stephan / shell.nix
Created Dec 20, 2017
Development environment with local postgres for nix-shell
View shell.nix
{ pkgs ? import <nixpkgs> {}, ... }:
let
inherit (pkgs) stdenv;
in stdenv.mkDerivation {
name = "myproject-devenv";
buildInputs = with pkgs; [
postgresql
];
shellHook = ''
export PGDATA=$PWD/postgres_data