nixpkgs-immich/pkgs/by-name/im/immersed-vr/darwin.nix
2024-09-17 10:23:40 -06:00

28 lines
354 B
Nix

{ stdenv
, pname
, version
, src
, meta
, undmg
}:
stdenv.mkDerivation {
inherit pname version src meta;
nativeBuildInputs = [ undmg ];
sourceRoot = ".";
installPhase = ''
runHook preInstall
mkdir -p $out/Applications
cp -r *.app $out/Applications
runHook postInstall
'';
# Immersed is notarized.
dontFixup = true;
}