nixpkgs/pkgs/by-name/im/immersed/darwin.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
383 B
Nix
Raw Normal View History

2024-11-08 15:28:45 -07:00
{
stdenv,
pname,
version,
src,
meta,
undmg,
}:
stdenv.mkDerivation {
2024-11-08 15:28:45 -07:00
inherit
pname
version
src
meta
;
nativeBuildInputs = [ undmg ];
sourceRoot = ".";
installPhase = ''
2024-03-18 09:11:16 -06:00
runHook preInstall
mkdir -p $out/Applications
cp -r *.app $out/Applications
2024-03-18 09:11:16 -06:00
runHook postInstall
'';
# Immersed is notarized.
dontFixup = true;
}