mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 02:18:09 +00:00
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:
parent
7ad281a1c3
commit
928a5d009f
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user