Jeremy Shaw
Jeremy Shaw
I am not sure where `filterSource` should actually be called. There is a list of boring files that can _almost_ always be ignored, and putting that potentially long list in...
I think I'd still argue for `cabal2nix` generating a the filter list, but only when generating a `default.nix` for `./.`. I like having the list of excluded files in the...
Alternatively, what if `cabal2nix` used `cabal sdist`. That way it would more accurately reflect the results I will get when I upload the package to hackage?
Seems cabbage uses sdist, https://github.com/acowley/cabbage/blob/master/Nix-notes.org
actually, I think there should just be a general purpose `cabalsdist` that runs `cabal sdist`. Here is a quick prototype. There is a directory `cabalsdist` which contains two files. `default.nix`:...
I would still suggest that the `cabalsdist` solution is even better. It ensures that only the files that will actually make it onto hackage are used. Which is super useful...
I think the problem is that in this function, https://github.com/acid-state/acid-state/blob/master/test/Data/Acid/StateMachineTest.hs#L486 it calls 'open' to open an acid-state test DB, but never calls close. So there is a file handle leak...
So, another reason you can get this error is if you change your types but forget to create a SafeCopy migration instance. Currently that causes the app to fail to...
Being able to easily diagnose and recover from an error such as this one is perhaps the number one most important task for acid-state. So I do want to take...
@jberryman acid-state is essentially a write ahead log system, and does use CRCs to check the validity. The issue is what happens when a CRC check fails? How do you...