ophcrack: fix darwin build

This commit is contained in:
Xiangyan Sun
2026-05-08 09:41:10 -07:00
parent 61feedfa7d
commit a689c61315
+5
View File
@@ -50,6 +50,11 @@ stdenv.mkDerivation (finalAttrs: {
[ "--disable-gui" ]
);
installPhase = lib.optional (stdenv.hostPlatform.isDarwin && enableGui) ''
mkdir -p $out/Applications
cp -R src/ophcrack.app $out/Applications/ophcrack.app
'';
meta = {
description = "Free Windows password cracker based on rainbow tables";
homepage = "https://ophcrack.sourceforge.io";