Fix /bin not created in actual-server
parent
fee899ee77
commit
f340c82f0d
|
@ -170,7 +170,8 @@
|
||||||
(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"))
|
||||||
(format #t "Checking if actual-server-start exists: ~a~%" (file-exists? (string-append out "/lib/actual-server-start")))
|
(mkdir-p (string-append out "/bin"))
|
||||||
|
(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)
|
||||||
#t)))
|
#t)))
|
||||||
|
|
Loading…
Reference in New Issue