engage: use fetchFromGitLab

The aforementioned problems with it were fixed and this works now.
This commit is contained in:
Charles Hall 2024-05-09 20:14:48 -07:00
parent 958bde7024
commit aca7c0eb8f
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -1,7 +1,7 @@
{ lib { lib
, installShellFiles , installShellFiles
, rustPlatform , rustPlatform
, fetchgit , fetchFromGitLab
}: }:
let let
@ -11,9 +11,10 @@ in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
inherit pname version; inherit pname version;
# fetchFromGitLab doesn't work on GitLab's end for unknown reasons src = fetchFromGitLab {
src = fetchgit { domain = "or.computer.surgery";
url = "https://or.computer.surgery/charles/${pname}"; owner = "charles";
repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-niXh63xTpXSp9Wqwfi8hUBKJSClOUSvB+TPCTaqHfZk="; hash = "sha256-niXh63xTpXSp9Wqwfi8hUBKJSClOUSvB+TPCTaqHfZk=";
}; };