athens: remove timpath flag, don't use pname as repo

trimpath is already set by buildGoModule.
pname should not be used as src.repo, so pname can be overriden.
This commit is contained in:
Paul Meyer 2023-12-24 09:46:43 +01:00
parent 7ad281a1c3
commit 928a5d009f

View File

@ -10,7 +10,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "gomods";
repo = pname;
repo = "athens";
rev = "v${version}";
hash = "sha256-27BBPDK5lGwEFsgLf+/lE9CM8g1AbGUgM1iOL7XZqsU=";
};
@ -19,7 +19,6 @@ buildGoModule rec {
CGO_ENABLED = "0";
ldflags = [ "-s" "-w" "-buildid=" "-X github.com/gomods/athens/pkg/build.version=${version}" ];
flags = [ "-trimpath" ];
subPackages = [ "cmd/proxy" ];