Commit Graph

382 Commits

Author SHA1 Message Date
Domen Kožar
6b32c7cd77
Merge pull request #210 from haskell-nix/dependabot/github_actions/cachix/install-nix-action-20
build(deps): bump cachix/install-nix-action from 18 to 20
2023-03-27 14:28:09 +01:00
dependabot[bot]
b787344708 build(deps): bump actions/cache from 3.2.2 to 3.3.0
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.2 to 3.3.0.
- [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.2.2...v3.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-12 19:30:05 +02:00
dependabot[bot]
c6cb15b9c8
build(deps): bump cachix/install-nix-action from 18 to 20
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v20)

---
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-03-01 12:02:43 +00:00
Richard Marko
9361566a5a
Merge pull request #204 from haskell-nix/srk/release/core061
Release core 0.6.1
2023-01-02 12:32:35 +01:00
Richard Marko
81700e6e7c Release core 0.6.1 2023-01-02 12:13:57 +01:00
Domen Kožar
c9214eaec3
Merge pull request #203 from serokell/Player205/#198-Another-fix-of-compatibility-with-nix-store
[#198] Another fix of compatibility with nix store
2022-12-29 16:39:31 +00:00
Andrei Borzenkov
59cd64b674 [#198] Capture non-ASCII file names in the right way
Problem: Data.ByteString.Char8.pack breaks unicode sequencies

Solution: replace pack with transformation to Text and encoding to utf-8
2022-12-29 17:30:33 +04:00
Andrei Borzenkov
fa686f8e8c [#198] Fix getFileStatus exception
Problem: hnix-store throws getFileStatus error, if directory contains file with
self-symlink

Solution: capture if target file is symlink before trying to call
narIsDir
2022-12-29 17:26:33 +04:00
Domen Kožar
bda3a9725d
Merge pull request #202 from haskell-nix/dependabot/github_actions/actions/cache-3.2.2
build(deps): bump actions/cache from 3.0.10 to 3.2.2
2022-12-28 12:38:47 +00:00
Domen Kožar
25dbb224d3
Merge pull request #201 from serokell/Player205/Fix-incompatibility-with-nix-nar
[#198] Make nar implementation compatible with the original one
2022-12-28 12:23:27 +00:00
dependabot[bot]
0a424a8f3f
build(deps): bump actions/cache from 3.0.10 to 3.2.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.10 to 3.2.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.0.10...v3.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 11:04:20 +00:00
Andrei Borzenkov
2f1bae89c8 [#198] Make nar implementation compatible with the original one
Problem: this implementation of nar made non-identical archives with the
original implementation

Solution: doesn't treat to directory symlinks as they are directories
2022-12-28 12:13:13 +04:00
Domen Kožar
72752f4858
Merge pull request #195 from haskell-nix/dependabot/github_actions/cachix/install-nix-action-18
build(deps): bump cachix/install-nix-action from 17 to 18
2022-12-16 16:09:29 +00:00
Domen Kožar
b652e2c166
Merge pull request #197 from haskell-nix/dependabot/github_actions/cachix/cachix-action-12
build(deps): bump cachix/cachix-action from 10 to 12
2022-12-16 16:09:22 +00:00
dependabot[bot]
570b60e806
build(deps): bump cachix/cachix-action from 10 to 12
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 10 to 12.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v10...v12)

---
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>
2022-10-28 11:42:54 +00:00
dependabot[bot]
070c206f1b
build(deps): bump cachix/install-nix-action from 17 to 18
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)

---
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-10-13 11:23:39 +00:00
Richard Marko
f4580e924a
Merge pull request #193 from haskell-nix/dependabot/github_actions/actions/cache-3.0.10
build(deps): bump actions/cache from 3.0.1 to 3.0.10
2022-10-09 11:50:51 +02:00
dependabot[bot]
35ef246775
build(deps): bump actions/cache from 3.0.1 to 3.0.10
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.1 to 3.0.10.
- [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.0.1...v3.0.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-09 09:37:22 +00:00
Richard Marko
620f7550a3
Merge pull request #191 from soulomoon/soulomoon-patch-1
githubflow: update default.nix with new npkgs rev
2022-10-09 11:33:49 +02:00
Patrick
93e7b6b273
Update default.nix 2022-08-22 08:44:31 +08:00
Richard Marko
aabe589f53 remote: fix changelog URLs 2022-06-06 12:24:49 +02:00
Richard Marko
74f543f775
Merge pull request #190 from haskell-nix/release/remote-0.6
Release remote 0.6
2022-06-06 12:21:23 +02:00
Richard Marko
4f80b535f2 Relase remote 0.6 2022-06-06 11:37:10 +02:00
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