mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
commit
a547f2929f
@ -12,13 +12,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "runme";
|
||||
version = "2.0.0";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stateful";
|
||||
repo = "runme";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-EUAYwm7nd7VRGbTth+ZXcgqqPSGKthv8sciO+iCpdds=";
|
||||
hash = "sha256-9BXDYcIV31KLDauBzRnMs55jAKu+56WkgSrE/V+gje4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-xQuxoizcxut4qjXqgMEWMROiG53goxEXQas5n/2NiaY=";
|
||||
@ -52,11 +52,6 @@ buildGoModule rec {
|
||||
--replace /bin/bash "${runtimeShell}"
|
||||
'';
|
||||
|
||||
# version test assumes `ldflags` is unspecified
|
||||
preCheck = ''
|
||||
unset ldflags
|
||||
'';
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd runme \
|
||||
--bash <($out/bin/runme completion bash) \
|
||||
|
Loading…
Reference in New Issue
Block a user