diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index be57399232..168dc84ca5 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -64,8 +64,10 @@ (define-public mit-scheme ;; Delete these dangling symlinks since they break ;; `patch-shebangs'. (for-each delete-file - (cons "src/lib/shim-config.scm" - (find-files "src/lib/lib" "\\.so$"))) + (append '("src/lib/shim-config.scm") + (find-files "src/lib/lib" "\\.so$") + (find-files "src/lib" "^liarc-") + (find-files "src/compiler" "^make\\."))) (chdir "src") #t))) (alist-replace