~ salmonella-environment-setup (master) 4b8fc394abc9dc1ae0c9215f7705f579e05d17db
commit 4b8fc394abc9dc1ae0c9215f7705f579e05d17db Author: Mario Domenech Goulart <mario@parenteses.org> AuthorDate: Tue Mar 30 20:36:57 2021 +0200 Commit: Mario Domenech Goulart <mario@parenteses.org> CommitDate: Tue Mar 30 20:37:07 2021 +0200 common/chicken-5.scm: skip OpenBSD-specific eggs on non-OpenBSD systems diff --git a/conf/common/chicken-5.scm b/conf/common/chicken-5.scm index 00023c7..b0ae38e 100644 --- a/conf/common/chicken-5.scm +++ b/conf/common/chicken-5.scm @@ -4,6 +4,7 @@ (import chicken files)) (chicken-5 (import (chicken pathname) + (chicken platform) (chicken process-context))) (else (error "Unsupported CHICKEN version."))) @@ -16,7 +17,10 @@ (make-pathname (list (get-environment-variable "CHICKEN_5_PREFIX") "bin") "salmonella")) -(skip-eggs '()) +(case (software-version) + ((openbsd) (skip-eggs '())) + ((freebsd) (skip-eggs '(pledge unveil))) + ((linux) (skip-eggs '(pledge unveil)))) ;;; Uncomment the lines below to quickly test the workflow (skip ;;; building CHICKEN and only test one egg)Trap