mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
nss: Remove '%compat' from the defaults.
* gnu/system/nss.scm (%compat): Add comment. (<name-service-switch>)[group, password, shadow]: Remove %COMPAT from the default value.
This commit is contained in:
parent
75176f1b94
commit
f7a5cf7a2d
1 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2015, 2018 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -93,6 +93,8 @@ (define-syntax-rule (lookup-specification reaction ...)
|
|||
;;;
|
||||
|
||||
(define %compat
|
||||
;; Note: Starting from version 2.26, libc no longer provides libnss_compat
|
||||
;; so this specification has become useless.
|
||||
(name-service
|
||||
(name "compat")
|
||||
(reaction (lookup-specification (not-found => return)))))
|
||||
|
@ -124,7 +126,7 @@ (define-record-type* <name-service-switch> name-service-switch
|
|||
(ethers name-service-switch-ethers
|
||||
(default '()))
|
||||
(group name-service-switch-group
|
||||
(default (list %compat %files)))
|
||||
(default (list %files)))
|
||||
(gshadow name-service-switch-gshadow
|
||||
(default '()))
|
||||
(hosts name-service-switch-hosts
|
||||
|
@ -136,7 +138,7 @@ (define-record-type* <name-service-switch> name-service-switch
|
|||
(networks name-service-switch-networks
|
||||
(default (list %files %dns)))
|
||||
(password name-service-switch-password
|
||||
(default (list %compat %files)))
|
||||
(default (list %files)))
|
||||
(public-key name-service-switch-public-key
|
||||
(default '()))
|
||||
(rpc name-service-switch-rpc
|
||||
|
@ -144,7 +146,7 @@ (define-record-type* <name-service-switch> name-service-switch
|
|||
(services name-service-switch-services
|
||||
(default '()))
|
||||
(shadow name-service-switch-shadow
|
||||
(default (list %compat %files))))
|
||||
(default (list %files))))
|
||||
|
||||
(define %default-nss
|
||||
;; Default NSS configuration.
|
||||
|
|
Loading…
Reference in a new issue