Skip to content
Snippets Groups Projects
Verified Commit aecdd2c8 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: test ci

parent f1ffdf55
No related branches found
No related tags found
No related merge requests found
...@@ -8,12 +8,19 @@ ...@@ -8,12 +8,19 @@
modulesPath, modulesPath,
... ...
}: let }: let
taskfileYaml = let taskfileYaml = let
gitCommit = (builtins.getFlake "git+https://gitlab.schukai.com/schukai/entwicklung/nix-flakes").packages.${builtins.currentSystem}.git-commit;
goPkgReleaseData = import ./project.nix; ciJobToken = builtins.getEnv "CI_JOB_TOKEN";
goPkgName = goPkgReleaseData.name or "goPkg"; gitCommit= if ciJobToken == "" then
goPkgMnemonic = goPkgReleaseData.mnemonic or "go-pkg"; (builtins.getFlake "git+https://gitlab.schukai.com/schukai/entwicklung/nix-flakes").packages.${builtins.currentSystem}.git-commit
else
"";
goPkgReleaseData = import ./project.nix;
goPkgName = goPkgReleaseData.name or "goPkg";
goPkgMnemonic = goPkgReleaseData.mnemonic or "go-pkg";
in in
pkgs.writeTextFile { pkgs.writeTextFile {
name = "Taskfile.yaml"; name = "Taskfile.yaml";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment