positron-bin: fix darwin not unpacking the .dmg

This commit is contained in:
detroyejr 2024-11-09 15:32:25 -05:00
parent 172cb3ef53
commit 499926182a

View File

@ -72,11 +72,7 @@ stdenv.mkDerivation {
(lib.getLib systemd)
];
unpackPhase = ''
runHook preUnpack
${lib.optionalString stdenv.hostPlatform.isLinux ''dpkg-deb --fsys-tarfile "$src" | tar -x --no-same-owner''}
runHook postUnpack
'';
postUnpack = lib.optionalString stdenv.hostPlatform.isLinux ''dpkg-deb --fsys-tarfile "$src" | tar -x --no-same-owner'';
installPhase =
if stdenv.hostPlatform.isDarwin then