Commit Graph

23 Commits

Author SHA1 Message Date
sorki
9c407cbf8a init hnix-store-json 2023-12-07 16:35:16 +01:00
Richard Marko
69a02d3066 init hnix-store-nar
Closes #233
2023-11-22 11:16:17 +01:00
Richard Marko
72524cfc09 init hnix-store-readonly
Closes #235
2023-11-22 10:44:46 +01:00
Richard Marko
42f56f504f hnix-store-tests: init
Split from `-core` so it doesn't depend on quickcheck,
generic-arbitrary and quickcheck-instances that could propagate downstrem.
Also allows users to defined their own.

With all roundtrip property tests.

Later this should also absorb test nix-store/daemon harness from
`-remote` so it can be reused by others.
2023-11-20 09:22:05 +01:00
Richard Marko
4ce09d7650 hnix-store-db: init 2023-11-19 12:20:41 +01:00
Richard Marko
440dba1773 overlay.nix: extend dependent-sum-template compilers cond 2023-11-19 11:55:18 +01:00
Richard Marko
47aeb872e1 overlay.nix: pass compiler instead of haskell.lib, add couple of fixes 2023-11-19 09:56:52 +01:00
Richard Marko
7a5ec09e4a overlay.nix: add some 1.0.6 2023-11-18 18:44:44 +01:00
Richard Marko
c9a3f5a929 overlay.nix: refactor using pipe, add buildFromSdist 2023-11-15 07:51:30 +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
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
d34710a046 Pin nixpkgs 2022-04-22 12:49:07 +02:00
Richard Marko
2d34df0407 overlay.nix: use relude 1.0 for hnix-store-remote 2022-03-07 13:05:43 +01:00
Anton-Latukha
35da3c9ae1 overlay.nix: stop loading Core from master for Remote 2021-06-10 13:16:54 +03:00
Anton Latukha
5d03ffc43c
Declare tasty-discover a testing build tool (#130)
This properly fixes the use of the tasty-discover,
the report & info were sent upstream to fix it in docs:
https://github.com/haskell-works/tasty-discover/issues/4.
Closes: #129
2021-01-19 13:08:32 +02:00
Anton-Latukha
f325cdb7ca Core, Remote: tasty-discover dep: rm from Cabal desc, add to Nix drv
`tasty-discover` is a run-time executable dependency, it does not belong in the
package description.
2021-01-15 02:43:27 +02:00
Anton-Latukha
c5a929f273 overlay.nix: rm cryptohash-sha512 override 2021-01-15 02:43:27 +02:00
Anton Latukha
64453c5195
Remote: deps: use directory (#120)
`which` is excessive, it depends on TH & `shelly` which depends on a lot of things and also `directory`.
2021-01-15 02:31:33 +02:00
Richard Marko
cb164907da overlay.nix: add nix and which pkgs to remote buildInputs 2020-12-30 14:12:17 +01:00
Anton-Latukha
ffeaabbd30
overlay.nix: allow broken cryptohash-sha512 for nix-build 2020-12-30 13:47:28 +02:00
Greg Hale
3de47a36e7 Use constant-space encoding and decoding for NARs 2020-08-05 21:00:52 -04:00
Richard Marko
dff752750d remote: Put tests behind io-testsuite flag
Disabled by default since it requires `nix-daemon` binary
and Linux namespaces support.

For development this can be enabled by

```
cabal configure --flag=io-testsuite
```

or by adding

```
flags: +io-testsuite
```

to `cabal.project.local`

Enabled by `callCabal2nixWithOptions` in `overlay.nix` so
it is tested by `nix-build` and `nix-shell` brings all
test dependencies.

This is fine on NixOS where `build-tool-depends: nix:nix-daemon` works
and we have namespaces supported.
2020-07-14 13:27:24 +02:00
Shea Levy
440dfebc28
Build expressions. 2019-03-09 18:32:01 -05:00