diff --git a/pkgs/yarr.nix b/pkgs/yarr.nix index 3bb6d36..944a357 100644 --- a/pkgs/yarr.nix +++ b/pkgs/yarr.nix @@ -20,6 +20,8 @@ buildGo119Module rec { proxyVendor = true; + patches = [ ./yarr_manifest.diff ]; + doCheck = false; subPackages = [ "./src/main.go" ]; diff --git a/pkgs/yarr_manifest.diff b/pkgs/yarr_manifest.diff new file mode 100644 index 0000000..eee2b22 --- /dev/null +++ b/pkgs/yarr_manifest.diff @@ -0,0 +1,49 @@ +diff --git a/src/assets/assetsfs.go b/src/assets/assetsfs.go +index 29f3a36..0edf300 100644 +--- a/src/assets/assetsfs.go ++++ b/src/assets/assetsfs.go +@@ -1,3 +1,4 @@ ++//go:build release + // +build release + + package assets +@@ -5,6 +6,7 @@ package assets + import "embed" + + //go:embed *.html ++//go:embed *.json + //go:embed graphicarts + //go:embed javascripts + //go:embed stylesheets +diff --git a/src/assets/index.html b/src/assets/index.html +index 2124973..73346b2 100644 +--- a/src/assets/index.html ++++ b/src/assets/index.html +@@ -6,6 +6,7 @@ + + + ++ + +