[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'gobject-introspection': No such file or directory
From: |
Nikita Karetnikov |
Subject: |
Re: 'gobject-introspection': No such file or directory |
Date: |
Mon, 04 Feb 2013 19:43:06 -0500 |
> The solution is to patch Python to refer to our ‘sh’ instead of /bin/sh
> (as is done for Guile’s ice-9/popen.scm).
> Can you do that?
I changed 'arguments', but 'gobject-introspection' failed with the same
error.
python.scm:
(arguments `(#:tests? #f ; XXX: some tests fail
#:phases (alist-cons-before
'configure 'pre-configure
(lambda* (#:key inputs #:allow-other-keys)
(let ((bash (assoc-ref inputs "bash")))
(substitute* "Lib/subprocess.py"
(("/bin/sh")
(string-append bash "/bin/bash")))))
%standard-phases)))
subprocess.py:
if shell:
args =
["/nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/bash", "-c"] + args
if executable:
args[0] = executable
pgpNXnwWZIVCf.pgp
Description: PGP signature