91c9b5d016
'package-grafts' returns a list of potentially applicable grafts, which 'cumulative-grafts' then narrows by looking at store item references and determining the subset of the grafts that's actually applicable. Until now, 'package-grafts' would traverse native inputs and would thus return a large superset of the applicable grafts, since native inputs are not in the reference graph by definition. This patch fixes that by having 'package-grafts' ignore entirely native inputs from the dependency graph. * guix/packages.scm (fold-bag-dependencies)[bag-direct-inputs*]: Add special case for libc. * guix/packages.scm (bag-grafts)[native-grafts, target-grafts]: Remove. [grafts]: New procedure. Use it. * tests/packages.scm ("package-grafts, grafts of native inputs ignored"): New test. |
||
---|---|---|
.. | ||
build | ||
build-system | ||
import | ||
scripts | ||
store | ||
tests | ||
base16.scm | ||
base32.scm | ||
base64.scm | ||
build-system.scm | ||
cache.scm | ||
combinators.scm | ||
config.scm.in | ||
cpio.scm | ||
cve.scm | ||
cvs-download.scm | ||
derivations.scm | ||
discovery.scm | ||
docker.scm | ||
download.scm | ||
elf.scm | ||
ftp-client.scm | ||
gcrypt.scm | ||
gexp.scm | ||
git-download.scm | ||
git.scm | ||
gnu-maintenance.scm | ||
gnupg.scm | ||
grafts.scm | ||
graph.scm | ||
hash.scm | ||
hg-download.scm | ||
http-client.scm | ||
i18n.scm | ||
licenses.scm | ||
memoization.scm | ||
modules.scm | ||
monad-repl.scm | ||
monads.scm | ||
nar.scm | ||
packages.scm | ||
pk-crypto.scm | ||
pki.scm | ||
profiles.scm | ||
progress.scm | ||
records.scm | ||
scripts.scm | ||
search-paths.scm | ||
serialization.scm | ||
sets.scm | ||
ssh.scm | ||
store.scm | ||
svn-download.scm | ||
tests.scm | ||
ui.scm | ||
upstream.scm | ||
utils.scm | ||
workers.scm | ||
zlib.scm |