pistol: add ldflags

This commit is contained in:
Mario Rodas 2020-07-18 04:20:00 -05:00
parent 71b6ace942
commit 7a63d537b9
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -23,10 +23,12 @@ buildGoModule rec {
file
];
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=${version}" ];
meta = with stdenv.lib; {
description = "General purpose file previewer designed for Ranger, Lf to make scope.sh redundant";
homepage = "https://github.com/doronbehar/pistol";
license = licenses.mit;
maintainers = with maintainers; [ doronbehar ];
};
}
}