help-guix
[Top][All Lists]
Advanced

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

Re: Help packaging network-manager-sstp and sstp-client


From: Felix Lechner
Subject: Re: Help packaging network-manager-sstp and sstp-client
Date: Sun, 21 Jan 2024 06:23:30 -0800

Hi Lars,

On Fri, Jan 19 2024, Lars Rustand wrote:

> ./autogen.sh: ./configure: /bin/sh: bad interpreter: No such file or directory

I would use something like this [1]

    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'configure 'provide-shell
            (lambda _
              (setenv "CONFIG_SHELL" (which "sh")))))))
    (native-inputs (list bash))

although the (which "sh") is kind of lazy and should probably be
replaced by something like

    #$(file-append bash "/bin/sh")

Kind regards
Felix

[1] 
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/config_002estatus-Invocation.html



reply via email to

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