Merge pull request #312610 from shyim/fix-platformsh

platformsh: fix build
This commit is contained in:
Pol Dellaiera
2024-05-18 15:29:54 +02:00
committed by GitHub
+7 -1
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
'';