diff options
author | Arun Isaac | 2025-06-26 19:52:13 +0100 |
---|---|---|
committer | Arun Isaac | 2025-06-26 19:52:13 +0100 |
commit | 075f4683a79de6e99f969dfaa41e70b4de01b96e (patch) | |
tree | 65ddca76fa31e110b49d4e4bdcdea75b75461e70 | |
parent | 3cd7ea8e2545cf46c2c5715462924e03a80e89ee (diff) | |
download | ravanan-075f4683a79de6e99f969dfaa41e70b4de01b96e.tar.gz ravanan-075f4683a79de6e99f969dfaa41e70b4de01b96e.tar.lz ravanan-075f4683a79de6e99f969dfaa41e70b4de01b96e.zip |
command-line-tool: Do not canonicalize manifest file paths.
Canonicalization is unnecessary, and causes trouble when the manifest
file does not exist.
* ravanan/command-line-tool.scm (manifest-file->search-path-sexps,
manifest-file->profile-derivation): Do not canonicalize manifest file
paths.
-rw-r--r-- | ravanan/command-line-tool.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ravanan/command-line-tool.scm b/ravanan/command-line-tool.scm index c4ba42c..d00dc4a 100644 --- a/ravanan/command-line-tool.scm +++ b/ravanan/command-line-tool.scm @@ -448,7 +448,7 @@ Return value is monadic." `(lambda (store) ;; Do not auto-compile manifest files. (map search-path-specification->sexp - (manifest-search-paths (load ,(canonicalize-path manifest-file)))))) + (manifest-search-paths (load ,manifest-file))))) (if inferior (begin @@ -470,7 +470,7 @@ Return value is monadic." (set! %load-should-auto-compile #f) (derivation-file-name (run-with-store store - (profile-derivation (load ,(canonicalize-path manifest-file)) + (profile-derivation (load ,manifest-file) #:allow-collisions? #t))))) (if inferior |