Questions tagged [nix-hydra]
5 questions
3
votes
1 answer
Is it possible to get the current git SHA when building a Nix project with Hydra?
I'm building a Haskell project with Nix, with CI done by a Hydra server. One thing I would like to do is embed the git SHA in the application itself, that way the SHA can be included in our exception reports and as a header in HTTP responses (to…

MaxGabriel
- 7,617
- 4
- 35
- 82
2
votes
1 answer
Testing multiple Haskell dependency versions with Hydra
I would like to test my Haskell library with different versions of its dependencies using continuous integration. Is there an easy way to accomplish this with Hydra (http://nixos.org/hydra)?
One solution would be to override the versions of the…

user2917747
- 173
- 7
0
votes
1 answer
What is a "jobset" in the parlance of the Hydra continuous integration tool?
I found definitions (see below) and how they are usually used (i.e., a Hydra jobset is tracking a git branch) but I still couldn't figure out what they are in the general sense. Maybe if you could explain it laymen's terms with specific…

toraritte
- 6,300
- 3
- 46
- 67
0
votes
1 answer
How can I stream test output when building a Haskell package with Nix?
I have a project built with Nix on Hydra. When the tests are run for it, it prints the logs to a file, which makes them hard to view from a CI server. Is there a way I can make the project print stdout/err as the test suite runs? This is what I…

MaxGabriel
- 7,617
- 4
- 35
- 82
0
votes
1 answer
Nix Hydra throws errors on imports with , where symbol is not
There is something that is not completely clear to me on hydra. The following jobset:
{ nixpkgs ? import
{ config.allowUnfree = true;
config.allowBroken = true;
}
, my_package ? path/to/package/default.nix…

user2597336
- 1
- 1