Unverified Commit 54b154f9 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

fresh-editor: enable `--no-upgrade-check` by default (#485462)

parents 45461a44 3d509e68
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2,9 +2,10 @@
  lib,
  rustPlatform,
  fetchFromGitHub,
  gzip,
  makeBinaryWrapper,
  pkg-config,
  openssl,
  gzip,
  gitMinimal,
  nix-update-script,
  versionCheckHook,
@@ -23,8 +24,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
  cargoHash = "sha256-I7/M1wo3s+6M1AKc4JReMb9tHuLuzQlHIXVPdigCvFQ=";

  nativeBuildInputs = [
    pkg-config
    gzip
    makeBinaryWrapper
    pkg-config
  ];

  nativeCheckInputs = [
@@ -41,6 +43,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
  '';

  postInstall = ''
    wrapProgram $out/bin/${finalAttrs.meta.mainProgram} \
      --add-flags "--no-upgrade-check"
    rm -rf $out/bin/fresh.dSYM
  '';