From 084d15656342f6c69a1448c2d41f27e8499bd61d Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 4 Apr 2020 22:00:37 -0400 Subject: 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. --- gnu/packages/nfs.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/nfs.scm') diff --git a/gnu/packages/nfs.scm b/gnu/packages/nfs.scm index 3a8467431d..81eabef493 100644 --- a/gnu/packages/nfs.scm +++ b/gnu/packages/nfs.scm @@ -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/") -- cgit v1.2.3