Käännä Laskutin vain gittiin kirjatuista tiedostoista

This commit is contained in:
Saku Laesvuori 2024-01-24 19:11:26 +02:00
parent d6d5746a0a
commit 1a333ea250
Signed by: slaesvuo
GPG Key ID: 257D284A2A1D3A32
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,6 @@
(define-module (laskutin-package)
#:use-module (guix)
#:use-module (guix git-download)
#:use-module (guix build-system haskell)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
@ -7,12 +8,17 @@
#:use-module (gnu packages haskell-check)
#:use-module (gnu packages haskell-xyz))
(define vcs-file?
(or (git-predicate (string-append (current-source-directory) "/../.."))
(const #t)))
(define-public laskutin
(package
(name "laskutin")
(version "0.0.1")
(source (local-file "../.." "laskutin-checkout"
#:recursive? #t))
#:recursive? #t
#:select? vcs-file?))
(build-system haskell-build-system)
(inputs (list ghc-cassava
ghc-lens