From e119e119e31ff98338be381854f2b47ea0174ffd Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Thu, 8 Apr 2021 13:52:22 -0400 Subject: [PATCH] nix-build support --- .gitignore | 1 + default.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 default.nix diff --git a/.gitignore b/.gitignore index ccc1755..adb0257 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ # Dependency directories (remove the comment below to include it) # vendor/ .DS_Store +result diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..5b5067f --- /dev/null +++ b/default.nix @@ -0,0 +1,8 @@ +{ pkgs ? import { }, fetchgit ? pkgs.fetchgit +, buildGoModule ? pkgs.buildGoModule }: + +buildGoModule { + name = "todayinmarch2020"; + src = ./.; + vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5"; +}