diff options
-rw-r--r-- | pkgs/applications/misc/hello/default.nix | 7 | ||||
-rw-r--r-- | pkgs/stdenv/linux/make-bootstrap-tools.nix | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/misc/hello/default.nix b/pkgs/applications/misc/hello/default.nix index 6b090e84c3f2..c542fbde56eb 100644 --- a/pkgs/applications/misc/hello/default.nix +++ b/pkgs/applications/misc/hello/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchipfs }: +{ stdenv, fetchipfs, fetchurl }: stdenv.mkDerivation rec { name = "hello-2.10"; @@ -22,4 +22,9 @@ stdenv.mkDerivation rec { maintainers = [ stdenv.lib.maintainers.eelco ]; platforms = stdenv.lib.platforms.all; }; + + passthru.srcTarball = fetchurl { + inherit (src) url; + sha256 = "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"; + }; } diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix index c8cddf248ab9..008daf8d5224 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools.nix +++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix @@ -216,7 +216,7 @@ rec { $CXX -v -o $out/bin/bar bar.cc $out/bin/bar - tar xvf ${hello.src} + tar xvf ${hello.srcTarball} cd hello-* ./configure --prefix=$out make |