From fb42e3b77422c9034c868a61a5550ebca9a51973 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 5 Oct 2021 01:58:50 +0200 Subject: guix: use local-file --- manifest.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/manifest.scm b/manifest.scm index 2b9e586..a939482 100644 --- a/manifest.scm +++ b/manifest.scm @@ -1,5 +1,6 @@ (define-module (guix walint) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix profiles) #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-web) @@ -10,6 +11,8 @@ #:use-module (guix licenses) #:use-module (srfi srfi-1)) +;; the regex packages provided by current guix are a little too old, +;; and would result in a missing typeclass instance (define ghc-regex-base-newer (package (inherit ghc-regex-base) @@ -25,8 +28,6 @@ (base32 "1ngdmmrxs1rhvib052c6shfa40yad82jylylikz327r0zxpxkcbi")))))) - - (define ghc-regex-tdfa-newer (package (inherit ghc-regex-tdfa) @@ -48,13 +49,7 @@ (name "walint") (version "0.1") (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://stuebinm.eu/git/walint") - (commit "c93c266951ea40938efcb061b438ce95e9780fde"))) - (sha256 - (base32 "144ysxjg5qj7wirbs3pvwszarz156ba78mk873lrd6w4qxnq9kqy")))) + (local-file "" #:recursive? #t)) (build-system haskell-build-system) (arguments '()) (inputs @@ -65,8 +60,7 @@ ("ghc-aeson-pretty" ,ghc-aeson-pretty) ("ghc-either" ,ghc-either) ("ghc-extra" ,ghc-extra) - ("ghc-bytestring-builder" ,ghc-bytestring-builder) - )) + ("ghc-bytestring-builder" ,ghc-bytestring-builder))) (home-page "https://stuebinm.eu/git/walint") (synopsis "linter for workadventure maps") (description -- cgit v1.2.3