goku: refactor installPhase

This commit is contained in:
DontEatOreo
2024-11-02 16:46:26 +02:00
parent 2490a405c2
commit e68e39d988
+5 -5
View File
@@ -32,11 +32,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
passthru.updateScript = nix-update-script { };
installPhase = ''
chmod +x goku
chmod +x gokuw
mkdir -p $out/bin
cp goku $out/bin
cp gokuw $out/bin
runHook preInstall
mkdir -p "$out/bin"
chmod +x {goku,gokuw}
cp {goku,gokuw} "$out/bin"
runHook postInstall
'';
meta = {