Commit Graph

359 Commits

Author SHA1 Message Date
Richard Marko
de176877f9 remote: drop unused deps in testsuite 2022-06-06 11:37:10 +02:00
Richard Marko
b43d6f598f remote: adapt bounds for core-0.6 2022-06-06 11:32:50 +02:00
soulomoon
3e0ee222ba replace the filepath argument in addToStore with a more common type NarSource (The remote part) 2022-06-06 11:32:50 +02:00
Richard Marko
8e14153631
Merge pull request #189 from haskell-nix/release/core-0.6
Release core 0.6
2022-06-06 10:51:09 +02:00
Richard Marko
86cec2f801 Release core 0.6 2022-06-06 09:52:24 +02:00
Richard Marko
71991e5722
Merge pull request #177 from soulomoon/dev
replace the filepath argument in `addToStore` with a more common type `NarSource` (The core part)
2022-04-28 15:00:46 +02:00
soulomoon
e3723c76b7 add doc and refactor 2022-04-22 15:29:30 +02:00
soulomoon
c90b261c02 rename filePathToNar to dumpPath
and move it to Nix.Nar
2022-04-22 15:29:30 +02:00
soulomoon
c72c832534 exposing dumpString in Nix.Nar
remove trailling whitespace
2022-04-22 15:29:30 +02:00
soulomoon
aa0287a29f Rmove path filtering from addToStore
Since NarSource, It should be done building NarSource

format
2022-04-22 15:29:30 +02:00
soulomoon
0758bc3561 replace the filepath argument in addToStore with a more common type type NarSource m = (ByteString -> m ()) -> m ().
* `FilePath` can turn to `NarSource m`.
    * `Text` can turn to `NarSource m`
2022-04-22 15:29:30 +02:00
Richard Marko
e95e8cb13c
Merge pull request #188 from sorki/actionsBump
Aggregated Actions bump, pinning
2022-04-22 15:21:11 +02:00
Richard Marko
ade0ba5a58 CI: drop NIXPKGS_ALLOW_BROKEN env 2022-04-22 13:43:47 +02:00
Richard Marko
690e7a6e4b CI: actions/cache@v3.0.1 -> actions/cache@v3 2022-04-22 13:17:16 +02:00
Richard Marko
af0d69d992 CI: invalidate caches
https://github.com/actions/cache/issues/2
2022-04-22 13:13:06 +02:00
Richard Marko
d34710a046 Pin nixpkgs 2022-04-22 12:49:07 +02:00
dependabot[bot]
f2fe84f83e Bump haskell/actions from 1 to 2
Bumps [haskell/actions](https://github.com/haskell/actions) from 1 to 2.
- [Release notes](https://github.com/haskell/actions/releases)
- [Commits](https://github.com/haskell/actions/compare/v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 12:39:21 +02:00
dependabot[bot]
5da143beac Bump cachix/install-nix-action from 16 to 17
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 16 to 17.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v16...v17)

---
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>
2022-04-22 12:39:16 +02:00
dependabot[bot]
26d3a34e1a Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 12:39:09 +02:00
dependabot[bot]
a5115d39cf Bump actions/cache from 2 to 3.0.1
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.0.1.
- [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/v2...v3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 12:39:01 +02:00
Richard Marko
4185057ab8
Merge pull request #183 from haskell-nix/srk/relax_graphs
core: allow algebraic-graphs 0.6
2022-03-07 17:24:26 +01:00
Richard Marko
df0dd83f11 core: allow algebraic-graphs 0.6
Closes #180.
2022-03-07 17:17:40 +01:00
Richard Marko
83619f3824
Merge pull request #182 from haskell-nix/srk/test_fixes
Remote testsuite fixes for Nix 2.6
2022-03-07 17:06:00 +01:00
Richard Marko
2d34df0407 overlay.nix: use relude 1.0 for hnix-store-remote 2022-03-07 13:05:43 +01:00
Richard Marko
a3a0cb3f72
Merge pull request #172 from haskell-nix/2021-11-15-fxs
remote/tests/NixDaemon: use Text
2022-03-07 12:44:22 +01:00
Richard Marko
082cad8756 remote: drop derivation test
This was a hack to test serialization/protocol
but the fake derivation won't pass validation
with Nix 2.6. This needs to be tested in combination
with hnix with valid derivation.

Closes #178
2022-03-07 12:42:05 +01:00
Richard Marko
dfa55dc8ba remote: set HOME for tests 2022-03-07 12:12:23 +01:00
Anton-Latukha
a432ee295d remote: test: NixDaemon: fx Text use 2022-02-21 14:31:01 +01:00
Anton-Latukha
aecfd03ecd dep: Core,Remote: relude >= 1.0 2022-02-21 14:31:01 +01:00
thomasjm
71b8a9478b Tweak and respond to review 2021-11-25 14:17:51 +02:00
thomasjm
dc43a716a8 Be able to connect to store with arbitrary socket settings 2021-11-25 14:17:51 +02:00
dependabot[bot]
755e52d1c9 Bump cachix/install-nix-action from 15 to 16
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v15...v16)

---
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>
2021-11-22 14:15:54 +02:00
dependabot[bot]
64e2f605c8 Bump cachix/install-nix-action from 14.1 to 15
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 14.1 to 15.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v14.1...v15)

---
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>
2021-11-15 13:52:30 +02:00
Anton Latukha
9a9ebb5434 core: test: NarFormat: m doc 2021-11-04 14:27:05 +02:00
hololeap
b0ee7fd6a2 Add GHC.Stats import to NarFormat test
This is needed for the tests to compile on my system.
Without the import, `max_live_bytes` and `getRTSStats` are undefined.
2021-11-04 14:21:19 +02:00
dependabot[bot]
96db83674f Bump cachix/cachix-action from 7 to 10
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 7 to 10.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v7...v10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-04 14:04:50 +02:00
dependabot[bot]
1ba5a73b7b Bump cachix/install-nix-action from 12 to 14.1
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 12 to 14.1.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v12...v14.1)

---
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>
2021-11-04 14:04:38 +02:00
Anton Latukha
9f9ea28775 add dependabot 2021-11-04 14:03:08 +02:00
Anton Latukha
5e55781516
Merge #166: Use relude, default language extensions, {,text} clean-up 2021-08-09 15:06:23 +03:00
Anton-Latukha
916624b373
Core: tests: Hash: spec_hash: refactor 2021-08-07 02:51:08 +03:00
Anton-Latukha
2bf02a92d8
Core: tests: Hash: spec_nixhash: refactor 2021-08-07 01:56:06 +03:00
Anton-Latukha
6318ff163b
Remote: (Right -> pure) 2021-08-06 19:52:52 +03:00
Anton-Latukha
04333808af
Remote: tests: NixDaemon: mockedEnv: refactor 2021-08-06 19:29:03 +03:00
Anton-Latukha
bc000b4c6b
Remote: clean-up imports 2021-08-06 19:29:03 +03:00
Anton-Latukha
5b1b51306a
Core: clean-up imports 2021-08-06 19:29:02 +03:00
Anton-Latukha
a93cba03c9
treewide: hlint refactor 2021-08-06 19:29:02 +03:00
Anton-Latukha
75c810423a
treewide: hlint refactor 2021-08-06 19:29:02 +03:00
Anton-Latukha
2b58d3e510
treewide: use lift 2021-08-06 19:29:02 +03:00
Anton-Latukha
3fe7fce9e8
treewide: use lift 2021-08-06 19:29:02 +03:00
Anton-Latukha
f27d5c15be
treewide: use ask{,s} 2021-08-06 19:29:02 +03:00