mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
platformsh: fix build
This commit is contained in:
parent
3d20918d97
commit
b099794398
|
@ -3,6 +3,7 @@
|
|||
lib,
|
||||
fetchurl,
|
||||
testers,
|
||||
installShellFiles,
|
||||
platformsh
|
||||
}:
|
||||
|
||||
|
@ -10,6 +11,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
pname = "platformsh";
|
||||
version = "5.0.13";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
src =
|
||||
{
|
||||
x86_64-darwin = fetchurl {
|
||||
|
@ -39,7 +42,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 platformsh $out/bin/platformsh
|
||||
install -Dm755 platform $out/bin/platform
|
||||
|
||||
installShellCompletion completion/bash/platform.bash \
|
||||
completion/zsh/_platform
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue