summary refs log tree commit diff
path: root/scripts/guix.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-24 10:23:27 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-24 10:23:27 +0200
commit84836a5733e35de758d34d9ea40b9b4c8b70836f (patch)
tree5cebc9d627f8b4d492362aa4a6fd6cf8b8fbe17c /scripts/guix.in
parentdf354a771d9838f62d9dc2d8a68388fff3363ec3 (diff)
downloadguix-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 'scripts/guix.in')
0 files changed, 0 insertions, 0 deletions