1
0
Fork 1
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:
Soner Sayakci 2024-05-18 09:46:07 +02:00
parent 3d20918d97
commit b099794398
No known key found for this signature in database

View file

@ -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
'';