vaguerent/nix/vagrant.nix
Paul Hinze a5f0064a86
Adapt nix configs for Vagrant needs
* Remove postgres, docker, k8s, and DO requirements
 * Add ruby
2022-04-25 12:25:55 -05:00

62 lines
788 B
Nix

{ lib
, stdenv
, autoconf
, autogen
, automake
, go
, go-bindata
, go-changelog
, go-mockery
, go-protobuf
, go-protobuf-json
, go-tools
, grpcurl
, libpng
, libtool
, mkShell
, nasm
, nodejs-16_x
, pkg-config
, protobufPin
, protoc-gen-doc
, ruby
, zlib
}:
mkShell rec {
name = "vagrant";
packages = [
go
go-bindata
grpcurl
nodejs-16_x
protoc-gen-doc
ruby
# Custom packages, added to overlay
protobufPin
go-protobuf
go-protobuf-json
go-tools
go-mockery
go-changelog
# Needed for website/
autoconf
autogen
automake
libpng
libtool
nasm
pkg-config
zlib
];
# workaround for npm/gulp dep compilation
# https://github.com/imagemin/optipng-bin/issues/108
shellHook = ''
LD=$CC
'';
}