gnu: nfs-utils: Fix the shebangs of the Python based tools.

While attempting to debug NFS with 'mountstats' and other Python based tools,
I was greeted by the error:

  bash: /run/current-system/profile/sbin/mountstats: /usr/bin/python: bad
  interpreter: No such file or directory

Add python-wrapper, so that the Python shebangs get rewritten correctly.

* gnu/packages/nfs.scm (nfs-utils)[inputs]: Add python-wrapper.
This commit is contained in:
Maxim Cournoyer 2020-04-04 22:00:37 -04:00
parent eaa3cb1eb4
commit 084d156563
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -27,6 +27,7 @@ (define-module (gnu packages nfs)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages sqlite)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
@ -115,7 +116,8 @@ (define-public nfs-utils
("lvm2" ,lvm2)
("util-linux" ,util-linux)
("mit-krb5" ,mit-krb5)
("libtirpc" ,libtirpc)))
("libtirpc" ,libtirpc)
("python-wrapper" ,python-wrapper))) ;for the Python based tools
(native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "https://www.kernel.org/pub/linux/utils/nfs-utils/")