summaryrefslogtreecommitdiff
path: root/srv/default.nix
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2021-07-31 16:45:49 -0600
committerBrian Picciano <mediocregopher@gmail.com>2021-07-31 16:52:16 -0600
commit6bec0e3964f03f776841cec5e639784222a33958 (patch)
tree468d195614e6e12197ff571ec94a46692a999059 /srv/default.nix
parent0655b192833bc39404ae71ef47a1d348d718aeaf (diff)
begin work on mailing list server, got the fundamental components done
Diffstat (limited to 'srv/default.nix')
-rw-r--r--srv/default.nix20
1 files changed, 20 insertions, 0 deletions
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 ];
+ };
+
+ }