Commit 49992618 authored by detroyejr's avatar detroyejr
Browse files

positron-bin: fix darwin not unpacking the .dmg

parent 172cb3ef
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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