1
私は、次のものが含まれ、私自身stack.yaml
ファイルでスタック実行可能パッケージをインストールしている:インストール済みのスタックパッケージを更新するにはどうすればよいですか?
resolver: lts-8.2
packages:
- location:
git: https://github.com/chrissound/ArchPackageCompareStats.git
commit: c34b7dc5f08df92c6b6fb0cab0ac1d5b6b7568d4
- location:
git: https://github.com/chrissound/ArchLinuxPkgStatsScraper.git
commit: HEAD
私が使用するコマンドは以下のいずれかだった:私はコミットハッシュを更新した後
stack install --local-bin-path /server/ ArchPackageCompareStats
stack install -v ArchPackageCompareStats
stack.yaml
、このパッケージのアップデートはどうすればできますか?
以前と同じ 'stack install'コマンドを実行してください。 – sjakobi
BTW [stack docs](https://docs.haskellstack.org/en/stable/yaml_configuration/#complex-package-locations-location)はこう言っています。「GitやSHA1の値だけを使用することを強くお勧めします。 Mercurial commit。他の値も有効ですが、正式にはサポートされていないため、予期しない動作が発生する可能性があります(つまり、スタックは自動的に新しいバージョンに更新されません)。 – sjakobi