Open tnxz opened 1 year ago
I am trying to package it with the following code but the package seems to execute some startup script after prompting for password and shows the following error
{ lib
, fetchurl
, stdenv
, undmg
}:
stdenv.mkDerivation rec {
pname = "vmware-fusion";
version = "13.0.2";
build = "21581413";
sourceRoot = "VMware Fusion.app";
src = fetchurl {
url = "https://download3.vmware.com/software/FUS-${builtins.replaceStrings ["."] [""] version}/VMware-Fusion-${version}-${build}_universal.dmg";
sha256 = "sha256-yGtAgjuXM08gtOa0dbSI7CP68GyYbikZZbnlb3tEwEI=";
};
nativeBuildInputs = [ undmg ];
dontFixup = true;
installPhase = ''
mkdir -p $out/Applications/VMware\ Fusion.app
cp -R . $out/Applications/VMware\ Fusion.app
'';
meta = with lib; {
description = "Create, manage, and run virtual machines";
homepage = "https://www.vmware.com/products/fusion.html";
license = licenses.unfree;
platforms = platforms.darwin;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
};
}
Does anyone know what am I missing here
Project description
VMware Fusion: Create, manage, and run virtual machines
Metadata