Merge pull request #277780 from katexochen/waybar-mpris/cleanup
waybar-mpris: cleanup Go flags, remove unused dependency
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, fetchgit
|
||||
, buildGoModule
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
@@ -16,11 +15,10 @@ buildGoModule {
|
||||
|
||||
vendorHash = "sha256-85jFSAOfNMihv710LtfETmkKRqcdRuFCHVuPkW94X/Y=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
CGO_LDFLAGS = "-s -w";
|
||||
|
||||
GOFLAGS = "-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw";
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A waybar component/utility for displaying and controlling MPRIS2 compliant media players individually";
|
||||
@@ -30,4 +28,3 @@ buildGoModule {
|
||||
maintainers = with maintainers; [ khaneliman ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user