Unverified Commit 6d4ddefd authored by Justin Bedő's avatar Justin Bedő Committed by GitHub
Browse files

positron-bin: fix darwin not unpacking the dmg (#354846)

parents 5b916fd8 49992618
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