diff options
author | knupfer <fknupfer@gmail.com> | 2017-11-04 23:01:20 +0100 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2017-11-04 23:01:27 +0100 |
commit | d71833ee36c707717821b7f833587817168b4684 (patch) | |
tree | 3cab9681f96419d34213d0d127107972f5d72575 /pkgs/applications/misc/hello | |
parent | 59c995ce06d19fe261b495f8b4c5747c899fdee8 (diff) |
fetchipfs: init
Fixes #18296
Diffstat (limited to 'pkgs/applications/misc/hello')
-rw-r--r-- | pkgs/applications/misc/hello/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/misc/hello/default.nix b/pkgs/applications/misc/hello/default.nix index 8a31c591b29bf..6b090e84c3f24 100644 --- a/pkgs/applications/misc/hello/default.nix +++ b/pkgs/applications/misc/hello/default.nix @@ -1,11 +1,12 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchipfs }: stdenv.mkDerivation rec { name = "hello-2.10"; - src = fetchurl { - url = "mirror://gnu/hello/${name}.tar.gz"; - sha256 = "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"; + src = fetchipfs { + url = "https://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz"; + ipfs = "QmWyj65ak3wd8kG2EvPCXKd6Tij15m4SwJz6g2yG2rQ7w8"; + sha256 = "1im1gglfm4k10bh4mdaqzmx3lm3kivnsmxrvl6vyvmfqqzljq75l"; }; doCheck = true; |