issue2md: add ldflags (#457223)
This commit is contained in:
@@ -24,8 +24,8 @@ lib.extendMkDerivation {
|
|||||||
modRoot ? "./",
|
modRoot ? "./",
|
||||||
|
|
||||||
# The SRI hash of the vendored dependencies.
|
# The SRI hash of the vendored dependencies.
|
||||||
# If `vendorHash` is `null`, no dependencies are fetched and
|
# If `null`, it means the project either has no external dependencies
|
||||||
# the build relies on the vendor folder within the source.
|
# or the vendored dependencies are already present in the source tree.
|
||||||
vendorHash ? throw (
|
vendorHash ? throw (
|
||||||
if args ? vendorSha256 then
|
if args ? vendorSha256 then
|
||||||
"buildGoModule: Expect vendorHash instead of vendorSha256"
|
"buildGoModule: Expect vendorHash instead of vendorSha256"
|
||||||
|
|||||||
@@ -17,6 +17,10 @@ buildGoModule (finalAttrs: {
|
|||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "CLI tool to convert GitHub issue into Markdown file";
|
description = "CLI tool to convert GitHub issue into Markdown file";
|
||||||
homepage = "https://github.com/bigwhite/issue2md";
|
homepage = "https://github.com/bigwhite/issue2md";
|
||||||
|
|||||||
Reference in New Issue
Block a user