guix/guix
Ludovic Courtès e3dfed59d3
modules: ‘file-name->module-name’ strips leading “./”.
Fixes <https://issues.guix.gnu.org/71979>.

* guix/modules.scm (file-name->module-name): Strip leading “.” component
from FILE.
* tests/modules.scm ("file-name->module-name")
("file-name->module-name, leading dot"): New tests.

Reported-by: Tomas Volf <~@wolfsden.cz>
Change-Id: I3d1b9f3f21448050cac4f3b1aed5f8f03758d4c9
2024-07-18 17:31:19 +02:00
..
build build-system/composer: Do not try to delete-duplicates. 2024-07-12 11:06:10 -05:00
build-system build-system: go: Properly handle when a target is unsupported. 2024-07-15 22:34:24 +01:00
import import: github: Honor upstream-name property. 2024-07-06 12:07:11 +02:00
platforms guix: Add xtensa-ath9k-elf platform. 2024-04-17 12:13:02 +02:00
scripts guix build: Take ‘--system’ into account together with ‘-S’. 2024-07-18 17:31:18 +02:00
store deduplication: Detect holes and create sparse files. 2024-05-25 16:44:42 +02:00
tests
android-repo-download.scm
avahi.scm
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm download: Honor ‘GUIX_DOWNLOAD_METHODS’ environment variable. 2024-03-09 18:55:50 +01:00
cache.scm
channels.scm guix: channels: Enable specifiying available builtin builders. 2024-07-18 11:18:29 +01:00
ci.scm
colors.scm
combinators.scm
config.scm.in
cpio.scm
cpu.scm cpu: Enable tuning for i686-linux. 2024-03-07 13:04:27 +02:00
cve.scm
cvs-download.scm download: Honor ‘GUIX_DOWNLOAD_METHODS’ environment variable. 2024-03-09 18:55:50 +01:00
d3.v3.js
deprecation.scm
derivations.scm Autoload (gcrypt hash). 2024-04-15 22:36:42 +02:00
describe.scm describe: Try harder to find the ‘guix pull’ profile. 2024-03-19 17:02:14 +01:00
diagnostics.scm
discovery.scm Autoload (guix build syscalls). 2024-04-15 22:36:42 +02:00
docker.scm
download.scm guix: Delay loading of (gnutls). 2024-04-15 22:36:42 +02:00
elf.scm
ftp-client.scm
gexp.scm gexp: Add #:guile parameter to ‘gexp->file’ and ‘scheme-file’. 2024-04-08 00:05:48 +02:00
git-authenticate.scm
git-download.scm git-download: Reduce builder duplication. 2024-06-11 11:33:43 +01:00
git.scm git: Remove untracked files from cached checkouts. 2024-07-18 17:31:19 +02:00
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.js
graph.scm
hash.scm
hg-download.scm hg-download: Pass strings to ‘hg-fetch’. 2024-06-12 09:45:44 +02:00
http-client.scm
i18n.scm
inferior.scm inferior: Use the host built-in-builders with inferior. 2024-07-18 11:18:29 +01:00
ipfs.scm
least-authority.scm
licenses.scm
lint.scm Revert "guix: Run check-synopsis-style with other local checks." 2024-06-26 15:08:51 +01:00
man-db.scm
memoization.scm
modules.scm modules: ‘file-name->module-name’ strips leading “./”. 2024-07-18 17:31:19 +02:00
monad-repl.scm
monads.scm
nar.scm Autoload (guix build syscalls). 2024-04-15 22:36:42 +02:00
narinfo.scm
openpgp.scm
packages.scm guix: packages: Add &unsupported-cross-compilation-target-error. 2024-07-15 22:34:24 +01:00
pki.scm
platform.scm
profiles.scm gnu: linux-libre: Enable Zstd compression of kernel modules. 2024-05-29 22:01:23 -04:00
profiling.scm
progress.scm
quirks.scm
read-print.scm guix: import: Optionally import necessary yanked crates. 2024-01-09 09:38:38 +02:00
records.scm records: Do not inline the constructor. 2024-05-04 19:14:24 +02:00
remote.scm
repl.scm
rpm.scm
scripts.scm Autoload (guix build syscalls). 2024-04-15 22:36:42 +02:00
search-paths.scm
self.scm self: Remove reference to source. 2024-07-02 10:19:52 +02:00
serialization.scm
sets.scm
ssh.scm ssh: ‘open-ssh-session’ displays the port number upon error. 2024-04-04 15:48:47 +02:00
status.scm
store.scm guix: store: Enable specifying the builtin builders. 2024-07-18 11:18:25 +01:00
substitutes.scm
svn-download.scm svn-download: Reduce svn-fetch builder duplication. 2024-06-11 11:33:22 +01:00
swh.scm swh: Specify 'extid_version' when looking up by external ID. 2024-06-26 23:56:56 +02:00
tests.scm
transformations.scm transformations: Fix powerpc64le support. 2024-06-11 12:39:44 +03:00
ui.scm guix: packages: Add &unsupported-cross-compilation-target-error. 2024-07-15 22:34:24 +01:00
upstream.scm upstream: update-package-inputs: Sort extra inputs. 2024-02-19 11:44:47 +01:00
utils.scm utils: Don’t re-export ‘call-with-temporary-output-file’. 2024-04-15 22:36:42 +02:00
workers.scm