summary refs log tree commit diff
path: root/pkgs/shells/tcsh/default.nix
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-03-13 14:12:59 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-03-13 15:44:46 -0300
commit7b212f90e72fa665171ac591eb1cf2a7ef6166fa (patch)
tree7339a0ec7e80823b38c54bbcd9896f689365b520 /pkgs/shells/tcsh/default.nix
parent2d88a59de11f1c16fbb31829307b6c3e560839da (diff)
downloadnixpkgs-7b212f90e72fa665171ac591eb1cf2a7ef6166fa.tar
nixpkgs-7b212f90e72fa665171ac591eb1cf2a7ef6166fa.tar.gz
nixpkgs-7b212f90e72fa665171ac591eb1cf2a7ef6166fa.tar.bz2
nixpkgs-7b212f90e72fa665171ac591eb1cf2a7ef6166fa.tar.lz
nixpkgs-7b212f90e72fa665171ac591eb1cf2a7ef6166fa.tar.xz
nixpkgs-7b212f90e72fa665171ac591eb1cf2a7ef6166fa.tar.zst
nixpkgs-7b212f90e72fa665171ac591eb1cf2a7ef6166fa.zip
tcsh: use tcsh mirrors
Diffstat (limited to 'pkgs/shells/tcsh/default.nix')
-rw-r--r--pkgs/shells/tcsh/default.nix13
1 files changed, 2 insertions, 11 deletions
diff --git a/pkgs/shells/tcsh/default.nix b/pkgs/shells/tcsh/default.nix
index 2c8548fb1fd..4357ca605b1 100644
--- a/pkgs/shells/tcsh/default.nix
+++ b/pkgs/shells/tcsh/default.nix
@@ -10,17 +10,7 @@ stdenv.mkDerivation rec {
   version = "6.24.00";
 
   src = fetchurl {
-    urls = [
-      "https://astron.com/pub/tcsh/${pname}-${version}.tar.gz"
-      "https://astron.com/pub/tcsh/old/${pname}-${version}.tar.gz"
-      "http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/${pname}-${version}.tar.gz"
-      "http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/old/${pname}-${version}.tar.gz"
-
-      "ftp://ftp.astron.com/pub/tcsh/${pname}-${version}.tar.gz"
-      "ftp://ftp.astron.com/pub/tcsh/old/${pname}-${version}.tar.gz"
-      "ftp://ftp.funet.fi/pub/unix/shells/tcsh/${pname}-${version}.tar.gz"
-      "ftp://ftp.funet.fi/pub/unix/shells/tcsh/old/${pname}-${version}.tar.gz"
-    ];
+    url = "mirror://tcsh/${pname}-${version}.tar.gz";
     hash = "sha256-YL4sUEvY8fpuQksZVkldfnztUqKslNtf0n9La/yPdPA=";
   };
 
@@ -29,6 +19,7 @@ stdenv.mkDerivation rec {
   ];
 
   patches = lib.optional stdenv.hostPlatform.isMusl
+    # Use system malloc
     (fetchpatch {
       name = "sysmalloc.patch";
       url = "https://git.alpinelinux.org/aports/plain/community/tcsh/001-sysmalloc.patch?id=184585c046cdd56512f1a76e426dd799b368f8cf";