guns / go-luks-suspend

Lock encrypted LUKS volumes on suspend in Arch Linux
https://aur.archlinux.org/packages/go-luks-suspend/
84 stars 9 forks source link

Dumb build issue. #14

Open Paulie420 opened 2 years ago

Paulie420 commented 2 years ago

No matter wheather I install from the AUR or I attempt to compile myself, I get the error:

package goLuksSuspend/cmd/go-luks-suspend is not in GOROOT (/usr/lib/go/src/goLuksSuspend/cmd/go-luks-suspend) make: *** [Makefile:14: go-luks-suspend] Error 1 ==> ERROR: A failure occurred in build(). Aborting... -> error making: go-luks-suspend

Any ideas?

x140x1n commented 1 year ago

before compiling turn off the GO111MODULE using go env -w GO111MODULE=off this way it will compile using the legacy GOPATH mode.