summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-28 15:00:49 +0200
committerDavid Craven <david@craven.ch>2016-08-28 15:02:18 +0200
commit25d1b3107fc7ebdc155649722fc257f4dbc4b04a (patch)
tree11e42dbed316b5545b7ce02d91ae56d5ec3527c1 /gnu/packages
parent7483230f17880c1cd50d1de53496dc1ececebbb8 (diff)
downloadguix-25d1b3107fc7ebdc155649722fc257f4dbc4b04a.tar.gz
gnu: linux-pam: Add cracklib to inputs.
* gnu/packages/linux.scm (linux-pam)[inputs]: Add cracklib.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/linux.scm12
1 files changed, 5 insertions, 7 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 9ff000fe6d..71e49c08fa 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -55,6 +55,7 @@
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages password-utils)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pkg-config)
@@ -392,12 +393,9 @@ It has been modified to remove all non-free binary blobs.")
         "1fyi04d5nsh8ivd0rn2y0z83ylgc0licz7kifbb6xxi2ylgfs6i4"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("flex" ,flex)
-
-       ;; TODO: optional dependencies
-       ;; ("libxcrypt" ,libxcrypt)
-       ;; ("cracklib" ,cracklib)
-       ))
+     `(("flex" ,flex)))
+    (inputs
+     `(("cracklib" ,cracklib)))
     (arguments
      '(;; Most users, such as `shadow', expect the headers to be under
        ;; `security'.
@@ -405,7 +403,7 @@ It has been modified to remove all non-free binary blobs.")
                                               (assoc-ref %outputs "out")
                                               "/include/security"))
 
-       ;; XXX: Tests won't run in chroot, presumably because /etc/pam.d
+       ;; FIXME: Tests won't run in chroot, presumably because /etc/pam.d
        ;; isn't available.
        #:tests? #f))
     (home-page "http://www.linux-pam.org/")