Merge pull request #130938 from SuperSandro2000/SuperSandro2000-patch-1

gotop: cleanup
This commit is contained in:
Sandro 2021-07-21 16:49:20 +02:00 committed by GitHub
commit e10b631094
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ buildGoModule rec {
runVend = true;
vendorSha256 = "06hl1npwmy9dvpf4kljvw8lwwiigm52wf106lmf9k6k2gi5ikprz";
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=v${version}" ];
ldflags = [ "-s" "-w" "-X main.Version=v${version}" ];
preCheck = ''
export HOME=$(mktemp -d)
@ -28,6 +28,5 @@ buildGoModule rec {
changelog = "https://github.com/xxxserxxx/gotop/raw/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.unix;
};
}