remote: actually use build-remote flag, disable by default, enable via cabal.project

This commit is contained in:
Richard Marko 2023-11-17 09:57:11 +01:00
parent 2e1cab22b3
commit 9e11428824
2 changed files with 10 additions and 2 deletions

View File

@ -1 +1,7 @@
packages: ./hnix-store-core/*.cabal ./hnix-store-remote/*.cabal
packages:
./hnix-store-core/hnix-store-core.cabal
./hnix-store-remote/hnix-store-remote.cabal
package hnix-store-remote
flags: +build-readme

View File

@ -60,7 +60,7 @@ flag io-testsuite
flag build-readme
default:
True
False
description:
Build README.lhs example
@ -97,6 +97,8 @@ library
ghc-options: -Wall
executable remote-readme
if !flag(build-readme)
buildable: False
build-depends:
base >=4.12 && <5
, hnix-store-remote