From 075f4683a79de6e99f969dfaa41e70b4de01b96e Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 26 Jun 2025 19:52:13 +0100 Subject: 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. --- ravanan/command-line-tool.scm | 4 ++-- 1 file 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 -- cgit v1.2.3