From 6bec0e3964f03f776841cec5e639784222a33958 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sat, 31 Jul 2021 16:45:49 -0600 Subject: begin work on mailing list server, got the fundamental components done --- srv/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srv/default.nix (limited to 'srv/default.nix') diff --git a/srv/default.nix b/srv/default.nix new file mode 100644 index 0000000..5a4a4d0 --- /dev/null +++ b/srv/default.nix @@ -0,0 +1,20 @@ +let + utils = (import ../nix) {}; + pkgs = utils.pkgs; + system = utils.system; +in + { + + build = pkgs.buildGoModule { + pname = "mediocre-blog-srv"; + version = "dev"; + src = ./.; + vendorSha256 = "0xr5gks5mrh34s5npncw71wncrzqrhnm3vjfwdakd7fzd6iw049z"; + }; + + shell = pkgs.stdenv.mkDerivation { + name = "mediocre-blog-srv-shell"; + buildInputs = [ pkgs.go ]; + }; + + } -- cgit v1.2.3