Commit Graph

434 Commits

Author SHA1 Message Date
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
Sander
6aca57f4a8
Use the narReadFile effect in the NAR streamer 2023-11-09 15:44:20 +00:00
Domen Kožar
f0dfc6d670
Merge pull request #219 from haskell-nix/dependabot/github_actions/actions/cache-3.3.2
build(deps): bump actions/cache from 3.3.1 to 3.3.2
2023-11-08 11:36:42 +00:00
Domen Kožar
52ee583840
Merge pull request #221 from haskell-nix/dependabot/github_actions/cachix/install-nix-action-23
build(deps): bump cachix/install-nix-action from 22 to 23
2023-11-08 11:36:33 +00:00
Domen Kožar
d43dcddde7
Merge pull request #220 from haskell-nix/dependabot/github_actions/actions/checkout-4
build(deps): bump actions/checkout from 3 to 4
2023-11-08 11:36:23 +00:00
dependabot[bot]
300f4f82b6
build(deps): bump cachix/install-nix-action from 22 to 23
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-08 11:19:07 +00:00
dependabot[bot]
8db4f743ef
build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-08 11:19:03 +00:00
dependabot[bot]
8d6526f6dd
build(deps): bump actions/cache from 3.3.1 to 3.3.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-08 11:19:00 +00:00
Domen Kožar
2e17511ca4
Merge pull request #212 from haskell-nix/dependabot/github_actions/actions/cache-3.3.1
build(deps): bump actions/cache from 3.3.0 to 3.3.1
2023-11-07 14:51:28 +00:00
Domen Kožar
c2c1a6e99b
Merge pull request #215 from haskell-nix/dependabot/github_actions/cachix/install-nix-action-22
build(deps): bump cachix/install-nix-action from 20 to 22
2023-11-07 14:51:18 +00:00
Richard Marko
883bea6de7
Merge pull request #216 from Ericson2314/store-path-like-nix
Do not store the store dir in the store path
2023-10-30 14:22:19 +01:00
Richard Marko
bdaa7c526c Add ChangeLog entries for Store dir like Nix 2023-10-30 14:22:02 +01:00
Richard Marko
583a76299f core: drop redundant Text.Show import 2023-10-30 13:57:18 +01:00
Richard Marko
05a42c413d core: handle root store dir mismatch check result 2023-10-30 13:57:02 +01:00
dependabot[bot]
3b7c314878
build(deps): bump cachix/install-nix-action from 20 to 22
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 12:00:17 +00:00