Merge pull request #131061 from Luflosi/update/ipfs

ipfs: 0.9.0 -> 0.9.1

authored by Jörg Thalheim and committed by GitHub aa099ab5 aec52676

+5 -2
+5 -2
pkgs/applications/networking/ipfs/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "ipfs"; 5 - version = "0.9.0"; 5 + version = "0.9.1"; 6 6 rev = "v${version}"; 7 7 8 8 # go-ipfs makes changes to it's source tarball that don't match the git source. 9 9 src = fetchurl { 10 10 url = "https://github.com/ipfs/go-ipfs/releases/download/${rev}/go-ipfs-source.tar.gz"; 11 - sha256 = "sha256:1fyffnw1d860w7gwm6ijbgrh68297z5bmvww8yqfshm3xgvcs6bf"; 11 + sha256 = "sha256-RliyIEtNgwzbLVwl6T38VIbhc12CZMBc3LZ6T/llaHc="; 12 12 }; 13 13 14 14 # tarball contains multiple files/directories ··· 29 29 30 30 postInstall = '' 31 31 install --mode=444 -D misc/systemd/ipfs.service $out/etc/systemd/system/ipfs.service 32 + install --mode=444 -D misc/systemd/ipfs-hardened.service $out/etc/systemd/system/ipfs-hardened.service 32 33 install --mode=444 -D misc/systemd/ipfs-api.socket $out/etc/systemd/system/ipfs-api.socket 33 34 install --mode=444 -D misc/systemd/ipfs-gateway.socket $out/etc/systemd/system/ipfs-gateway.socket 34 35 substituteInPlace $out/etc/systemd/system/ipfs.service \ 36 + --replace /usr/bin/ipfs $out/bin/ipfs 37 + substituteInPlace $out/etc/systemd/system/ipfs-hardened.service \ 35 38 --replace /usr/bin/ipfs $out/bin/ipfs 36 39 ''; 37 40