fresh-editor: enable --no-upgrade-check by default

This commit is contained in:
Pol Dellaiera
2026-01-31 13:07:39 +01:00
parent e882750997
commit 3d509e6885
+6 -2
View File
@@ -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
'';