Skip to content

Commit

Permalink
gitlab-runner: Eliminate use of with
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari committed Feb 4, 2025
1 parent 8be7adf commit ec16cae
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions modules/services/gitlab-runner.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,43 @@
{ config, lib, pkgs, ... }:
with builtins;
with lib;
let
inherit (builtins)
hashString
map
substring
toJSON
toString
unsafeDiscardStringContext
;

inherit (lib)
any
assertMsg
attrNames
attrValues
concatStringsSep
escapeShellArg
filterAttrs
hasPrefix
isStorePath
literalExpression
mapAttrs'
mapAttrsToList
mkDefault
mkEnableOption
mkIf
mkOption
mkPackageOption
mkRemovedOptionModule
mkRenamedOptionModule
nameValuePair
optional
optionalAttrs
optionals
teams
toShellVar
types
;

cfg = config.services.gitlab-runner;
hasDocker = config.virtualisation.docker.enable;
hashedServices = mapAttrs'
Expand Down

0 comments on commit ec16cae

Please sign in to comment.