guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: nfs-utils: Fix the shebangs of the Python ba


From: guix-commits
Subject: branch master updated: gnu: nfs-utils: Fix the shebangs of the Python based tools.
Date: Sat, 04 Apr 2020 22:08:54 -0400

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 084d156  gnu: nfs-utils: Fix the shebangs of the Python based tools.
084d156 is described below

commit 084d15656342f6c69a1448c2d41f27e8499bd61d
Author: Maxim Cournoyer <address@hidden>
AuthorDate: Sat Apr 4 22:00:37 2020 -0400

    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(-)

diff --git a/gnu/packages/nfs.scm b/gnu/packages/nfs.scm
index 3a84674..81eabef 100644
--- a/gnu/packages/nfs.scm
+++ b/gnu/packages/nfs.scm
@@ -27,6 +27,7 @@
   #: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 @@
        ("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/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]