nix-build support

This commit is contained in:
Cadey Ratio 2021-04-08 13:52:22 -04:00
parent 3d559eb359
commit e119e119e3
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@
# Dependency directories (remove the comment below to include it)
# vendor/
.DS_Store
result

8
default.nix Normal file
View File

@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> { }, fetchgit ? pkgs.fetchgit
, buildGoModule ? pkgs.buildGoModule }:
buildGoModule {
name = "todayinmarch2020";
src = ./.;
vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
}