Richard Marko
34e788e312
core: add RecordWildCards, ScopedTypeVariables to default-extensions
2023-11-15 18:36:28 +01:00
Richard Marko
319fd00b91
remote: drop relude
...
I prefer explicit imports vs magic and this causes
an unused packages warning to pop (with no workaround or fix in sight).
2023-11-15 18:36:28 +01:00
Richard Marko
40838bd6dd
Introduce InvalidPathError
2023-11-15 10:24:59 +01:00
Richard Marko
445f59df6d
remote: start transitioning from binary to cereal
...
Strict by default, with round trip props.
Nix-like serialization primitives for now
via System.Nix.Store.Remote.Serialize.Prim
2023-11-15 09:46:48 +01:00
Richard Marko
4734067134
Merge pull request #230 from sorki/srk/safety
...
newtypes, Arbitrary instances, chores
2023-11-15 09:39:47 +01:00
Richard Marko
863852d353
core: CHANGELOG cleanup
2023-11-15 09:01:10 +01:00
Richard Marko
e81932aa77
remote: CHANGELOG cleanup
2023-11-15 08:49:38 +01:00
Richard Marko
82fc838af0
ChangeLog.md -> CHANGELOG.md, add README.lhs for remote
2023-11-15 08:42:56 +01:00
Richard Marko
522244b216
core: CHANGELOG
2023-11-15 08:40:29 +01:00
Richard Marko
5dc1802665
core: move Arbitrary instances near their types
...
This allows us to use them in remote serialization
round trip props.
Couple of them are not needed anymore (`NixLike` is the
default now) so whole `tests/Arbitrary` is gone.
2023-11-15 08:29:49 +01:00
Richard Marko
2a6fd965f6
remote: common - add RecordWildCards, ScopedTypeVariables
2023-11-15 08:29:49 +01:00
Richard Marko
b98fb44d7f
remote: rename testsuite to remote-io, move to tests-io
2023-11-15 08:29:49 +01:00
Richard Marko
fe33fba30b
Drop StorePathSet type alias
2023-11-15 08:29:49 +01:00
Richard Marko
6f21bb30ef
remote: add Recursive newtype for addToStore
2023-11-15 08:29:49 +01:00
Richard Marko
3b3752d758
core: don't (re)export StorePathHashPart constructor
2023-11-15 08:29:49 +01:00
Richard Marko
c095d12427
remote: move flags to Types, wrap in newtype
2023-11-15 08:29:49 +01:00
Richard Marko
b1e590606e
core: don't (re)export StorePathName constructor
2023-11-15 08:29:49 +01:00
Richard Marko
e7622b3269
remote: move default-extensions into common stanza
2023-11-15 08:29:49 +01:00
Richard Marko
3b44930603
Merge pull request #228 from sorki/srk/release/core07
...
Release core `0.7`
2023-11-15 08:19:25 +01:00
Richard Marko
c9a3f5a929
overlay.nix: refactor using pipe, add buildFromSdist
2023-11-15 07:51:30 +01:00
Richard Marko
f9edde00ca
core: add case-conflict.nar fixture to extra-source-files
2023-11-15 07:46:29 +01:00
Richard Marko
8e2399dd95
Merge pull request #229 from sorki/srk/buildRemoteReadme
...
remote: build README.md via cabal
2023-11-14 11:04:34 +01:00
Richard Marko
5bad6836c5
remote: build README.md via cabal
...
Added as `remote-readme` executable.
Closes #47 .
2023-11-14 09:45:29 +01:00
Richard Marko
12732e62e3
remote: bump core bounds to require 0.7
...
Related to #227
2023-11-14 09:31:19 +01:00
Richard Marko
242c475993
Bump core to 0.7
...
Related to #227
2023-11-14 09:31:04 +01:00
Richard Marko
03e4d0d76e
Merge pull request #218 from sandydoo/fix/213
...
Handle case conflicts on case-insensitive filesystems
2023-11-13 16:53:00 +01:00
Sander
372a561ec2
Update changelog with case-hack support
2023-11-13 18:10:11 +04:00
Sander
33a7585c8a
Expose NarOptions
2023-11-13 18:09:19 +04:00
Sander
c68762f8d7
Test the case hack against a NAR fixture with case conflicts
2023-11-13 17:13:44 +04:00
Sander
0092a2952f
Implement case-insensitive hack
2023-11-13 17:13:44 +04:00
Richard Marko
a63e522201
Merge pull request #224 from sandydoo/fix/read-file
...
Use the narReadFile effect in the NAR streamer
2023-11-13 10:08:11 +01:00
Richard Marko
5b66d53bb5
Merge pull request #226 from sandydoo/fix/not-enough-input
...
Fix NAR parsing failure when not enough input is available
2023-11-13 10:06:16 +01:00
Richard Marko
696c839f2c
Merge pull request #223 from sorki/srk/haskell-ci
...
Rework CI
2023-11-13 10:02:30 +01:00
Richard Marko
75704cd536
README: Add badges
2023-11-13 08:25:26 +01:00
Richard Marko
ffc254c105
remote: fix Wincomplete-uni-patterns warnings
2023-11-12 14:45:33 +01:00
Richard Marko
ac8f9b8faa
core: drop redundant import
2023-11-12 14:44:46 +01:00
Richard Marko
8c85069d2e
core: fix StarIsType warning
2023-11-12 14:37:48 +01:00
Richard Marko
923a11a707
core: Enable TypeOperators as suggested by GHC
2023-11-12 14:31:56 +01:00
Richard Marko
89806de8ec
defualt.nix: unpin
...
let it fail in CI which is configured to build it at least
once a month so we know about any possible breakage.
2023-11-12 14:23:02 +01:00
Richard Marko
fc9d2be580
CI: re-enable io-testsuite
...
Closes #222
2023-11-12 13:55:18 +01:00
Richard Marko
f60a78d1e9
remote: set "-with-rtsopts -V0" for testsuite
...
See also https://github.com/redneb/hs-linux-namespaces/issues/3
Related to #222
2023-11-12 13:54:25 +01:00
Richard Marko
39bf386be7
remote: make (io-)testsuite not buildable on os(darwin)
...
Related to #222
2023-11-11 19:00:21 +01:00
Richard Marko
ca43418b4d
overlay.nix: use no io-testuite enabled package for darwin
...
This makes it not pick-up linux-namespaces dependency which
is Linux specific.
2023-11-11 19:00:21 +01:00
Richard Marko
1f55815e5b
shell.nix: pass cmdline arguments to default.nix
2023-11-11 19:00:21 +01:00
Richard Marko
70fb712323
Make nix-build actually build both packages
2023-11-11 19:00:21 +01:00
Richard Marko
bfede6f650
core: Allow algebraic-graphs 0.7
2023-11-11 19:00:20 +01:00
Richard Marko
591f5bd3d4
Revert "overlay.nix: stop loading Core from master for Remote"
...
This reverts commit 35da3c9ae1
.
2023-11-11 19:00:20 +01:00
Richard Marko
ec97c9fff8
Add cabal.project.local.ci
2023-11-11 19:00:20 +01:00
Richard Marko
0ee3bd31d5
CI: Switch to haskell-ci.dhall
2023-11-11 19:00:20 +01:00
Sander
47e9174d08
Fix NAR parsing failure when not enough input is available
...
Replaces `hGetSome` with `hGet`, which should continue reading until the
requested number of bytes have been read in. This avoids a potential
failure mode where the requested bytes are not immediately
available/buffered.
Resolves #225 .
2023-11-09 19:35:16 +00:00