about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/monitoring/mtail/fix-gopath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/monitoring/mtail/fix-gopath.patch')
-rw-r--r--nixpkgs/pkgs/servers/monitoring/mtail/fix-gopath.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/monitoring/mtail/fix-gopath.patch b/nixpkgs/pkgs/servers/monitoring/mtail/fix-gopath.patch
new file mode 100644
index 000000000000..9421d194a9e5
--- /dev/null
+++ b/nixpkgs/pkgs/servers/monitoring/mtail/fix-gopath.patch
@@ -0,0 +1,13 @@
+diff --git a/vm/compiler.go b/vm/compiler.go
+index c55266b..a46417c 100644
+--- a/vm/compiler.go
++++ b/vm/compiler.go
+@@ -2,7 +2,7 @@
+ // This file is available under the Apache license.
+ 
+ // Build the parser:
+-//go:generate $GOPATH/bin/goyacc -v y.output -o parser.go -p mtail parser.y
++//go:generate goyacc -v y.output -o parser.go -p mtail parser.y
+ 
+ package vm
+