This commit is contained in:
Daniel Ziltener 2023-12-30 01:01:47 +01:00
parent fd1ea3a97b
commit 8b0b6de856
Signed by: zilti
GPG key ID: B38976E82C9DAE42
2 changed files with 2546 additions and 1883 deletions

File diff suppressed because it is too large Load diff

View file

@ -94,7 +94,7 @@
(define (prepend-chicken-to-dependency x) (define (prepend-chicken-to-dependency x)
(if (not (symbol? x)) (if (not (symbol? x))
(prepend-chicken-to-dependency (car x)) (prepend-chicken-to-dependency (car x))
(string->symbol (string-append "chicken-" (symbol->string x))))) (string-append "chicken-" (symbol->string x))))
(define (generate-guix-package eggrec) (define (generate-guix-package eggrec)
(when (process-egg? eggrec) (when (process-egg? eggrec)
@ -114,10 +114,12 @@
(base32 (base32
,(egg-checksum eggrec))))) ,(egg-checksum eggrec)))))
(propagated-inputs (propagated-inputs
(list ,@(map prepend-chicken-to-dependency (egg-dependencies eggrec)))) (specifications->packages
(list ,@(map prepend-chicken-to-dependency (egg-dependencies eggrec)))))
(native-inputs (native-inputs
(list ,@(map prepend-chicken-to-dependency (egg-test-dependencies eggrec)) (specifications->packages
,@(map prepend-chicken-to-dependency (egg-build-dependencies eggrec)))) (list ,@(map prepend-chicken-to-dependency (egg-test-dependencies eggrec))
,@(map prepend-chicken-to-dependency (egg-build-dependencies eggrec)))))
(build-system chicken-build-system) (build-system chicken-build-system)
(arguments '(#:egg-name ,(egg-name eggrec))) (arguments '(#:egg-name ,(egg-name eggrec)))
(synopsis ,(egg-description eggrec)) (synopsis ,(egg-description eggrec))