diff options
| author | Felix Lechner <felix.lechner@lease-up.com> | 2023-05-12 11:52:50 -0700 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-08-15 23:30:44 +0200 |
| commit | 48d06aee7b39c8e72644d665bd1995cb1ae1b094 (patch) | |
| tree | 0e7a7787883cba1c1ee192cfc26814d73ad00f96 | |
| parent | 20c51c1d2ce8fd4b32203343c3afbfe2622a22d7 (diff) | |
services: Use more 'file-append'.
* gnu/services/authentication.scm (pam-ldap-pam-service): Use
'file-append' instead of #~(string-append ...).
* gnu/services/base.scm (greetd-pam-service): Likewise.
* gnu/services/kerberos.scm (pam-krb5-pam-service): Likewise.
* gnu/services/pam-mount.scm (pam-mount-pam-service): Likewise.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | gnu/services/authentication.scm | 2 | ||||
| -rw-r--r-- | gnu/services/base.scm | 2 | ||||
| -rw-r--r-- | gnu/services/kerberos.scm | 4 | ||||
| -rw-r--r-- | gnu/services/pam-mount.scm | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/gnu/services/authentication.scm b/gnu/services/authentication.scm index f1ad1b1afe3..fbfef2d3d0a 100644 --- a/gnu/services/authentication.scm +++ b/gnu/services/authentication.scm | |||
| @@ -504,7 +504,7 @@ password.") | |||
| 504 | (define (pam-ldap-pam-service config) | 504 | (define (pam-ldap-pam-service config) |
| 505 | "Return a PAM service for LDAP authentication." | 505 | "Return a PAM service for LDAP authentication." |
| 506 | (define pam-ldap-module | 506 | (define pam-ldap-module |
| 507 | #~(string-append #$(nslcd-configuration-nss-pam-ldapd config) | 507 | (file-append (nslcd-configuration-nss-pam-ldapd config) |
| 508 | "/lib/security/pam_ldap.so")) | 508 | "/lib/security/pam_ldap.so")) |
| 509 | (pam-extension | 509 | (pam-extension |
| 510 | (transformer | 510 | (transformer |
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index b557af24af2..b3f2d2e8b8d 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm | |||
| @@ -3263,7 +3263,7 @@ to handle." | |||
| 3263 | (define optional-pam-mount | 3263 | (define optional-pam-mount |
| 3264 | (pam-entry | 3264 | (pam-entry |
| 3265 | (control "optional") | 3265 | (control "optional") |
| 3266 | (module #~(string-append #$greetd-pam-mount "/lib/security/pam_mount.so")) | 3266 | (module (file-append greetd-pam-mount "/lib/security/pam_mount.so")) |
| 3267 | (arguments '("disable_interactive")))) | 3267 | (arguments '("disable_interactive")))) |
| 3268 | 3268 | ||
| 3269 | (list | 3269 | (list |
diff --git a/gnu/services/kerberos.scm b/gnu/services/kerberos.scm index 1a1b37f8905..a6f540a9b6a 100644 --- a/gnu/services/kerberos.scm +++ b/gnu/services/kerberos.scm | |||
| @@ -432,8 +432,8 @@ generates such a file. It does not cause any daemon to be started."))) | |||
| 432 | (transformer | 432 | (transformer |
| 433 | (lambda (pam) | 433 | (lambda (pam) |
| 434 | (define pam-krb5-module | 434 | (define pam-krb5-module |
| 435 | #~(string-append #$(pam-krb5-configuration-pam-krb5 config) | 435 | (file-append (pam-krb5-configuration-pam-krb5 config) |
| 436 | "/lib/security/pam_krb5.so")) | 436 | "/lib/security/pam_krb5.so")) |
| 437 | 437 | ||
| 438 | (let ((pam-krb5-sufficient | 438 | (let ((pam-krb5-sufficient |
| 439 | (pam-entry | 439 | (pam-entry |
diff --git a/gnu/services/pam-mount.scm b/gnu/services/pam-mount.scm index dbb9d0285f7..b3a02e82e92 100644 --- a/gnu/services/pam-mount.scm +++ b/gnu/services/pam-mount.scm | |||
| @@ -94,7 +94,7 @@ | |||
| 94 | (define optional-pam-mount | 94 | (define optional-pam-mount |
| 95 | (pam-entry | 95 | (pam-entry |
| 96 | (control "optional") | 96 | (control "optional") |
| 97 | (module #~(string-append #$pam-mount "/lib/security/pam_mount.so")))) | 97 | (module (file-append pam-mount "/lib/security/pam_mount.so")))) |
| 98 | (list | 98 | (list |
| 99 | (pam-extension | 99 | (pam-extension |
| 100 | (transformer | 100 | (transformer |
