diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-24 10:23:27 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-24 10:23:27 +0200 |
commit | 84836a5733e35de758d34d9ea40b9b4c8b70836f (patch) | |
tree | 5cebc9d627f8b4d492362aa4a6fd6cf8b8fbe17c /build-aux | |
parent | df354a771d9838f62d9dc2d8a68388fff3363ec3 (diff) | |
download | patches-84836a5733e35de758d34d9ea40b9b4c8b70836f.tar patches-84836a5733e35de758d34d9ea40b9b4c8b70836f.tar.gz |
packages: Generalize package module search.
* gnu/packages.scm (%distro-root-directory): New variable.
(%distro-module-directory): Remove.
(package-files): Rename to...
(scheme-files): ... this. Return absolute file names, not stripped.
(file-name->module-name): New procedure.
(package-modules): Add 'directory' and 'sub-directory' parameters.
Rewrite accordingly.
(fold-packages): Adjust 'package-modules' call accordingly.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions