Add first script

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-01-02 21:31:47 +01:00
commit caade47b4c
4 changed files with 543 additions and 0 deletions

32
flake.nix Normal file
View file

@ -0,0 +1,32 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
};
outputs =
inputs:
let
forAllSystems =
f:
inputs.nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
] (system: f (import inputs.nixpkgs { inherit system; }));
in
{
packages = forAllSystems (pkgs: {
gitlab-job-status = pkgs.writeShellApplication {
name = "gitlab-job-status";
runtimeInputs = [
pkgs.curl
pkgs.jq
pkgs.git
pkgs.ncurses
pkgs.coreutils
];
text = builtins.readFile ./gitlab-job-status;
};
});
};
}