Skip to content

Commit b608733

Browse files
committed
add note about BuildMode enum
1 parent 9ffdd9c commit b608733

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hnix-store-core/src/System/Nix/Build.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import Data.Text (Text)
1515
import Data.HashSet (HashSet)
1616
import System.Nix.Path (Path)
1717

18+
-- keep the order of these Enums to match enums from reference implementations
19+
-- src/libstore/store-api.hh
1820
data BuildMode = Normal | Repair | Check
1921
deriving (Eq, Ord, Enum, Show)
2022

0 commit comments

Comments
 (0)