1
0
Fork 0

Fix /bin not created in actual-server

master
Sudoer777's Guix Server 2024-05-30 21:37:46 -05:00
parent fee899ee77
commit f340c82f0d
No known key found for this signature in database
GPG Key ID: 030A38A3A5035E37
1 changed files with 2 additions and 1 deletions

View File

@ -170,6 +170,7 @@
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(copy-recursively "." (string-append out "/lib")) (copy-recursively "." (string-append out "/lib"))
(mkdir-p (string-append out "/bin"))
(format #t "Checking if actual-server-start exists: ~a~%" (file-exists? (string-append out "/lib/actual-server-start"))) (format #t "Checking if actual-server-start exists: ~a~%" (file-exists? (string-append out "/lib/actual-server-start")))
(rename-file (string-append out "/lib/actual-server-start") (string-append out "/bin/actual-server")) (rename-file (string-append out "/lib/actual-server-start") (string-append out "/bin/actual-server"))
(chmod (string-append out "/bin/actual-server") #o755) (chmod (string-append out "/bin/actual-server") #o755)