amp-cli: disable update check

amp tries to run an npm update but it fails due to /nix/store being
immutable.
This commit is contained in:
Keegan Carruthers-Smith
2025-09-22 14:33:14 +02:00
parent 2d5beb41d7
commit 219b474628
+2 -1
View File
@@ -66,7 +66,8 @@ buildNpmPackage (finalAttrs: {
postInstall = ''
wrapProgram $out/bin/amp \
--prefix PATH : ${lib.makeBinPath [ ripgrep ]}
--prefix PATH : ${lib.makeBinPath [ ripgrep ]} \
--set AMP_SKIP_UPDATE_CHECK 1
'';
passthru.updateScript = ./update.sh;