shell.nix with import <nixpkgs> {}; stdenv.mkDerivation { name = "playground-shell"; buildInputs = [ gnumake guile go pkgconfig clang_7 valgrind ]; shellHook = '' unset GOPATH export CFLAGS="$CFLAGS $(pkg-config --cflags --libs guile-2.2)" ''; }