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