From a978e48e52011048325b0b0f8380d6100fc1f44a Mon Sep 17 00:00:00 2001 From: Jacob Moody Date: Sun, 16 Jul 2023 22:50:24 -0500 Subject: [PATCH] rc-9front: use fetchFrom9Front --- pkgs/shells/rc-9front/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/shells/rc-9front/default.nix b/pkgs/shells/rc-9front/default.nix index e68674dfb3d..2c3d565db5b 100644 --- a/pkgs/shells/rc-9front/default.nix +++ b/pkgs/shells/rc-9front/default.nix @@ -1,6 +1,7 @@ { lib , stdenv -, fetchgit +, fetchFrom9Front +, unstableGitUpdater , byacc , installShellFiles }: @@ -9,8 +10,10 @@ stdenv.mkDerivation { pname = "rc-9front"; version = "unstable-2022-11-01"; - src = fetchgit { - url = "git://shithub.us/cinap_lenrek/rc"; + src = fetchFrom9Front { + domain = "shithub.us"; + owner = "cinap_lenrek"; + repo = "rc"; rev = "69041639483e16392e3013491fcb382efd2b9374"; hash = "sha256-xc+EfC4bc9ZA97jCQ6CGCzeLGf+Hx3/syl090/x4ew4="; }; @@ -31,7 +34,10 @@ stdenv.mkDerivation { install -m644 rcmain.unix $out/lib/rcmain ''; - passthru.shellPath = "/bin/rc"; + passthru = { + shellPath = "/bin/rc"; + updateScript = unstableGitUpdater { shallowClone = false; }; + }; meta = with lib; { description = "The 9front shell";