Commit 219b4746 authored by Keegan Carruthers-Smith's avatar Keegan Carruthers-Smith
Browse files

amp-cli: disable update check

amp tries to run an npm update but it fails due to /nix/store being
immutable.
parent 2d5beb41
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;