Unverified Commit f4465724 authored by winston's avatar winston
Browse files

fastmail-desktop: fix update script

parent 14195556
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  passthru,
  meta,
  stdenvNoCC,
  unzip,
}:
stdenvNoCC.mkDerivation {
  inherit
@@ -15,6 +16,9 @@ stdenvNoCC.mkDerivation {
    meta
    ;

  sourceRoot = ".";
  nativeBuildInputs = [ unzip ];

  installPhase = ''
    mkdir -p $out/Applications
    cp -R Fastmail.app $out/Applications/
+1 −2
Original line number Diff line number Diff line
@@ -4,10 +4,9 @@
{
  aarch64-darwin = {
    version = "1.0.3";
    src = fetchzip {
    src = fetchurl {
      url = "https://dl.fastmailcdn.com/desktop/production/mac/arm64/Fastmail-1.0.3-arm64-mac.zip";
      hash = "sha512-lqJj0tTwOJx1jzzXtlKOOduUEtSgVHpQCM5WkbXjmOh2OejLRcdJ1Y9CxvZJGSPBGWrErKzytMOB8QmJ1BkIdw==";
      stripRoot = false;
    };
  };
  x86_64-linux = {
+1 −2
Original line number Diff line number Diff line
@@ -24,10 +24,9 @@ cat >sources.nix <<EOF
{
  aarch64-darwin = {
    version = "$aarch64_darwin_version";
    src = fetchzip {
    src = fetchurl {
      url = "$aarch64_darwin_url";
      hash = "$aarch64_darwin_hash";
      stripRoot = false;
    };
  };
  x86_64-linux = {