Hi,
On dim., 10 déc. 2023 at 11:00, Efraim Flashner <[email protected]> wrote:
> On Thu, Dec 07, 2023 at 05:28:47PM +0800, Pan Xie wrote:
>> which part of codes in sbcl's package definition make guix include
>> "bash-minimal" into sbcl's references?
>
> I would suggest checking the output of
> 'grep bash-minimal /gnu/store/sbbp9nvslqcf3bmcnz5wgxf2qpsi757 -R' and
> that should let you see which files include a reference to bash-minimal.
Here the references:
--8<---------------cut here---------------start------------->8---
$ grep -R bash-minimal $(guix build sbcl --no-grafts | grep -v doc)
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/share/sbcl/contrib/asdf/uiop.lisp:
#+os-unix (string
`("/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh" "-c"
,command))
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/share/sbcl/contrib/asdf/uiop.lisp:
#+os-unix ,@'(ext:run-program
"/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh"
:arguments `("-c" ,%command))
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/share/sbcl/contrib/asdf/pull-asdf.sh:#!/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh
-e
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/share/sbcl/contrib/asdf/asdf.lisp:
#+os-unix (string
`("/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh" "-c"
,command))
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/share/sbcl/contrib/asdf/asdf.lisp:
#+os-unix ,@'(ext:run-program
"/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh"
:arguments `("-c" ,%command))
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/share/sbcl/contrib/sb-executable/sb-executable.lisp:
"#!/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh --
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/share/sbcl/contrib/sb-aclrepl/repl.lisp:
(sb-ext:run-program
"/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh" (list
"-c" string-arg)
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/share/sbcl/contrib/sb-posix/posix-tests.lisp:
(stat-2 (sb-posix:stat
"/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh"
grep:
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/lib/sbcl/contrib/sb-executable.fasl:
binary file matches
grep:
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/lib/sbcl/contrib/uiop.fasl:
binary file matches
grep:
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/lib/sbcl/contrib/asdf.fasl:
binary file matches
grep:
/gnu/store/8x97g65zpf35bf4lympy3wsgpf0v4vgh-sbcl-2.3.7/lib/sbcl/contrib/sb-aclrepl.fasl:
binary file matches
--8<---------------cut here---------------end--------------->8---
What is not clear for me is that bash-minimal is not an inputs of the
package sbcl.
Cheers,
simon