summary refs log tree commit diff
path: root/nixos/modules/services/misc/gitlab.nix
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2020-11-24 10:29:28 -0500
committerGraham Christensen <graham@grahamc.com>2020-11-24 12:42:06 -0500
commitbc49a0815ae860010b4d593b02f00ab6f07d50ea (patch)
tree1435af86f0f2172632621a400f27a44599751f17 /nixos/modules/services/misc/gitlab.nix
parent79086e5d55e037b994c839c2894a3667ae72547b (diff)
downloadnixpkgs-bc49a0815ae860010b4d593b02f00ab6f07d50ea.tar
nixpkgs-bc49a0815ae860010b4d593b02f00ab6f07d50ea.tar.gz
nixpkgs-bc49a0815ae860010b4d593b02f00ab6f07d50ea.tar.bz2
nixpkgs-bc49a0815ae860010b4d593b02f00ab6f07d50ea.tar.lz
nixpkgs-bc49a0815ae860010b4d593b02f00ab6f07d50ea.tar.xz
nixpkgs-bc49a0815ae860010b4d593b02f00ab6f07d50ea.tar.zst
nixpkgs-bc49a0815ae860010b4d593b02f00ab6f07d50ea.zip
utillinux: rename to util-linux
Diffstat (limited to 'nixos/modules/services/misc/gitlab.nix')
-rw-r--r--nixos/modules/services/misc/gitlab.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix
index c4037b49e7e..93420399279 100644
--- a/nixos/modules/services/misc/gitlab.nix
+++ b/nixos/modules/services/misc/gitlab.nix
@@ -658,7 +658,7 @@ in {
       script = ''
         set -eu
 
-        PSQL="${pkgs.utillinux}/bin/runuser -u ${pgsql.superUser} -- psql --port=${toString pgsql.port}"
+        PSQL="${pkgs.util-linux}/bin/runuser -u ${pgsql.superUser} -- psql --port=${toString pgsql.port}"
 
         $PSQL -tAc "SELECT 1 FROM pg_database WHERE datname = '${cfg.databaseName}'" | grep -q 1 || $PSQL -tAc 'CREATE DATABASE "${cfg.databaseName}" OWNER "${cfg.databaseUsername}"'
         current_owner=$($PSQL -tAc "SELECT pg_catalog.pg_get_userbyid(datdba) FROM pg_catalog.pg_database WHERE datname = '${cfg.databaseName}'")