From 926f9507f0a0e14b27618abc1089f6aa97f8e42e Mon Sep 17 00:00:00 2001 From: Rutherther Date: Wed, 3 Sep 2025 21:05:04 +0200 Subject: [PATCH] fix(environment): actually support rename-=unction for renaming binaries --- modules/ruther/environment.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ruther/environment.scm b/modules/ruther/environment.scm index 199bf1b8e87eb55e07448e6f003f307e6ce20520..2221f149446a15148b213ee76f91b9557e239056 100644 --- a/modules/ruther/environment.scm +++ b/modules/ruther/environment.scm @@ -75,7 +75,8 @@ (string-append profile-path "/" binary)) binaries)) (output-binaries (map (lambda (binary) - (string-append #$output "/" binary)) + (string-append + #$output "/" (dirname binary) "/" (#$rename-function (basename binary)))) binaries)) (profile-binaries-realpaths (map canonicalize-path profile-binaries)) (extra-folders (list #$@extra-paths)))