mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
glab: use stdenv.buildPlatform.canExecute
This commit is contained in:
parent
9109a87f53
commit
2e685bbac1
@ -28,7 +28,7 @@ buildGo123Module rec {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
make manpage
|
||||
installManPage share/man/man1/*
|
||||
installShellCompletion --cmd glab \
|
||||
|
Loading…
Reference in New Issue
Block a user