Skip to content

Commit

Permalink
Try to depend on standard-library
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Jun 18, 2024
1 parent 38ce47e commit b5de872
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Hydra/Protocol/Main.lagda
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ Date: \today
\begin{code}
module Hydra.Protocol.Main where

open import Data.Nat

data HydraState : Set where
Idle : HydraState
Open : HydraState
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
pname = "hydra-formal-specification";
version = "0.0.1";
src = ./.;
buildInputs = [ pkgs.agda ];
buildInputs = [ pkgs.agda pkgs.agdaPackages.standard-library ];
meta = { };
buildPhase = ''
agda --latex Hydra/Protocol/Main.lagda
Expand Down
4 changes: 4 additions & 0 deletions hydra-formal-specification.agda-lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: hydra-formal-specification
depend:
standard-library
include: .

0 comments on commit b5de872

Please sign in to comment.