byteverse / haskell-ip

IP Address implementation
Other
20 stars 19 forks source link

Not in scope: ‘Nat.constant’ , ip 1.7.2 #67

Closed teto closed 3 years ago

teto commented 4 years ago

tests on ip 1.7.2 fails on Nixos I believe because of this issue:

Test suite doctest: RUNNING...
src/Net/Mac.hs:421: failure in expression `BBB.run Nat.constant $ boundedBuilderUtf8 $ mac 0xDEADBEEF1609'
expected: [0x64, 0x65, 0x3a, 0x61, 0x64, 0x3a, 0x62, 0x65, 0x3a, 0x65, 0x66, 0x3a, 0x31, 0x36, 0x3a, 0x30, 0x39]
 but got: 
          ^
          <interactive>:320:9: error:
              Not in scope: ‘Nat.constant’
              No module named ‘Nat’ is imported.

Examples: 172  Tried: 172  Errors: 0  Failures: 1

which may be related to https://github.com/andrewthad/haskell-ip/commit/178ce289620006fdfa0fff0ddc6183e6911e434d

teto commented 3 years ago

looks good now