From 04eb6c0299be71f87abf4179e1b079dc54a5405b Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 21 Mar 2021 03:29:34 +0000 Subject: [PATCH] fup: fixup --- web/fup/default.nix | 2 +- web/fup/fuphttp/fuphttp_test.go | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/fup/default.nix b/web/fup/default.nix index efc851bdb1..3a115156bc 100644 --- a/web/fup/default.nix +++ b/web/fup/default.nix @@ -12,7 +12,7 @@ pkgs.buildGoModule { src = ./.; - vendorSha256 = "sha256:1sikkwph5l53mzplpfbcx6q2hpdkk22i33rv99z2chaadxaaqmxf"; + vendorSha256 = "sha256:0jvak2z2f1j9mavzxdqa7jpy3zhzznwyvj10ail7p68yilzbrkja"; meta = with pkgs.lib; { description = "Simple file upload manager."; diff --git a/web/fup/fuphttp/fuphttp_test.go b/web/fup/fuphttp/fuphttp_test.go index 7839c6deae..9944f3f594 100644 --- a/web/fup/fuphttp/fuphttp_test.go +++ b/web/fup/fuphttp/fuphttp_test.go @@ -13,10 +13,13 @@ import ( "hg.lukegb.com/lukegb/depot/web/fup/fuphttp" "hg.lukegb.com/lukegb/depot/web/fup/fupstatic" + + _ "gocloud.dev/blob/memblob" ) var cfg = &fuphttp.Config{ - Templates: fupstatic.Templates, + Templates: fupstatic.Templates, + StorageURL: "mem://", } func TestNotFound(t *testing.T) {