rc-9front: use fetchFrom9Front
This commit is contained in:
parent
5dde2776d3
commit
a978e48e52
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchgit
|
, fetchFrom9Front
|
||||||
|
, unstableGitUpdater
|
||||||
, byacc
|
, byacc
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
@ -9,8 +10,10 @@ stdenv.mkDerivation {
|
||||||
pname = "rc-9front";
|
pname = "rc-9front";
|
||||||
version = "unstable-2022-11-01";
|
version = "unstable-2022-11-01";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFrom9Front {
|
||||||
url = "git://shithub.us/cinap_lenrek/rc";
|
domain = "shithub.us";
|
||||||
|
owner = "cinap_lenrek";
|
||||||
|
repo = "rc";
|
||||||
rev = "69041639483e16392e3013491fcb382efd2b9374";
|
rev = "69041639483e16392e3013491fcb382efd2b9374";
|
||||||
hash = "sha256-xc+EfC4bc9ZA97jCQ6CGCzeLGf+Hx3/syl090/x4ew4=";
|
hash = "sha256-xc+EfC4bc9ZA97jCQ6CGCzeLGf+Hx3/syl090/x4ew4=";
|
||||||
};
|
};
|
||||||
|
@ -31,7 +34,10 @@ stdenv.mkDerivation {
|
||||||
install -m644 rcmain.unix $out/lib/rcmain
|
install -m644 rcmain.unix $out/lib/rcmain
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.shellPath = "/bin/rc";
|
passthru = {
|
||||||
|
shellPath = "/bin/rc";
|
||||||
|
updateScript = unstableGitUpdater { shallowClone = false; };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The 9front shell";
|
description = "The 9front shell";
|
||||||
|
|
Loading…
Reference in a new issue