build01/gitlab: fix infinite recursion
I don't know how this was working. The `pkgs` attribute is only available after all the `imports` are done.
This commit is contained in:
parent
30e21721b7
commit
756b4cc38f
1 changed files with 2 additions and 5 deletions
|
@ -1,13 +1,10 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
gitlabModule = pkgs.fetchFromGitLab {
|
gitlabModule = builtins.fetchTarball {
|
||||||
owner = "arianvp";
|
url = "https://gitlab.com/arianvp/nixos-gitlab-runner/-/archive/9126927c701aa399bd1734e7e5230c3a0010c1b7/nixos-gitlab-runner-9126927c701aa399bd1734e7e5230c3a0010c1b7.tar.gz";
|
||||||
repo = "nixos-gitlab-runner";
|
|
||||||
rev = "9126927c701aa399bd1734e7e5230c3a0010c1b7";
|
|
||||||
sha256 = "1s0fy5ny2ygcfvx35xws8xz5ih4z4kdfqlq3r6byxpylw7r52fyi";
|
sha256 = "1s0fy5ny2ygcfvx35xws8xz5ih4z4kdfqlq3r6byxpylw7r52fyi";
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
"${gitlabModule}/gitlab-runner.nix"
|
"${gitlabModule}/gitlab-runner.nix"
|
||||||
|
|
Loading…
Add table
Reference in a new issue