-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* flake: change pkg source to unstable * flake.lock: update * default.nix: update vendorhash and add ldflags
- Loading branch information
1 parent
2b0a4c0
commit 68400ae
Showing
3 changed files
with
35 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
{ pkgs }: | ||
|
||
pkgs.buildGoModule { | ||
name = "gum"; | ||
pkgs.buildGoModule rec { | ||
pname = "gum"; | ||
version = "0.14.0"; | ||
|
||
src = ./.; | ||
vendorSha256 = "sha256-rOBwhPXo4sTSI3j3rn3c5qWGnGFgkpeFUKgtzKBltbg="; | ||
|
||
vendorHash = "sha256-gDDaKrwlrJyyDzgyGf9iP/XPnOAwpkvIyzCXobXrlF4="; | ||
|
||
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters