diff options
author | Greg Brown <greg.brown@cl.cam.ac.uk> | 2022-01-07 10:03:35 +0000 |
---|---|---|
committer | Greg Brown <greg.brown@cl.cam.ac.uk> | 2022-01-07 10:03:35 +0000 |
commit | 4beda024000a0d0fd5437a07be8e0fb2723d6b1f (patch) | |
tree | 0b5d941d263d4ace4d46a2945d2c5fa86a8d07fa /guix.scm | |
parent | 568792d2890028fbf7d011393b6516af27cc8b2f (diff) |
Introduce various housekeeping changes
* Change how the package should be built.
* Update the .gitignore to a more specific filter.
Diffstat (limited to 'guix.scm')
-rw-r--r-- | guix.scm | 32 |
1 files changed, 4 insertions, 28 deletions
@@ -4,11 +4,10 @@ (guix git-download) ((guix licenses) #:prefix license:) (guix packages) - (yellowsquid packages agda)) + (yellowsquid packages agda) + (yellowsquid build-system agda)) (define %source-dir (dirname (current-filename))) - - (define-public agda-helium (package (name "agda-helium") @@ -17,31 +16,8 @@ (source (local-file %source-dir #:recursive? #t #:select? (git-predicate %source-dir))) - (build-system copy-build-system) - (inputs (list agda-stdlib)) - (native-inputs (list agda)) - (arguments - `(#:install-plan - '(("src" "/share/agda/lib/helium/" #:include-regexp ("\\.agdai?"))) - #:phases - (modify-phases %standard-phases - (add-before 'install 'build - (lambda* (#:key inputs #:allow-other-keys) - (call-with-output-file "libraries" - (lambda (port) - (format port - "~a\n" - (string-append - (search-input-file - inputs - "/share/agda/lib/standard-library.agda-lib")) - port) - (display "./agda-helium.agda-lib\n" port))) - (invoke "agda" - "--library-file=libraries" - "--library=agda-helium" - "-i." - "Everything.agda")))))) + (build-system agda-build-system) + (inputs (list agda-stdlib-1.7.1)) (synopsis "Semantics of the Arm M-profile Vector Extension (MVE) in Agda") (description "") (license license:expat))) |