Commit Graph

15 Commits

Author SHA1 Message Date
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