Unverified Commit 116872ae authored by Karel Kočí's avatar Karel Kočí
Browse files

nixos/gitlab-runner: fix shell syntax preventing build

The build fails when configFile is provided because of shellcheck
detects missing quotes here.
parent 3ea51a72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ let
    text = if (cfg.configFile != null) then ''
      cp ${cfg.configFile} ${configPath}
      # make config file readable by service
      chown -R --reference=$HOME $(dirname ${configPath})
      chown -R --reference="$HOME" "$(dirname ${configPath})"
    '' else ''
      export CONFIG_FILE=${configPath}