gnu: nftables: Make some inputs native.
authorVincent Legoll <vincent.legoll@gmail.com>
Mon, 30 Mar 2020 20:38:44 +0000 (22:38 +0200)
committerMathieu Othacehe <m.othacehe@gmail.com>
Tue, 31 Mar 2020 07:41:47 +0000 (09:41 +0200)
* gnu/packages/linux.scm (procenv)[native-inputs]: New field.
[inputs]: Move bison & flex to native-inputs.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
gnu/packages/linux.scm

index 701df76..a45847c 100644 (file)
@@ -5647,13 +5647,13 @@ used by nftables.")
     (build-system gnu-build-system)
     (arguments `(#:configure-flags
                  '("--disable-man-doc"))) ; FIXME: Needs docbook2x.
-    (inputs `(("bison" ,bison)
-              ("flex" ,flex)
-              ("gmp" ,gmp)
+    (inputs `(("gmp" ,gmp)
               ("libmnl" ,libmnl)
               ("libnftnl" ,libnftnl)
               ("readline" ,readline)))
-    (native-inputs `(("pkg-config" ,pkg-config)))
+    (native-inputs `(("pkg-config" ,pkg-config)
+                     ("bison" ,bison)
+                     ("flex" ,flex)))
     (home-page "https://www.nftables.org")
     (synopsis "Userspace utility for Linux packet filtering")
     (description "nftables is the project that aims to replace the existing