engage: use fetchFromGitLab
The aforementioned problems with it were fixed and this works now.
This commit is contained in:
parent
958bde7024
commit
aca7c0eb8f
1 changed files with 5 additions and 4 deletions
|
@ -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=";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue