mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
8512832c32
* Fix eval on Hydra * Bump nixpkgs to latest 19.03 * Change unit tests into a derivation Prevents Hydra from complaining about them. * Add unpacked source pins to Hydra jobset So that they are cached.
12 lines
351 B
Nix
12 lines
351 B
Nix
# Writes the store paths of a list of sources into a file.
|
|
# If this derivation is built by Hydra, then the sources will
|
|
# be kept and will be available to download from the binary cache.
|
|
{ lib, writeTextFile
|
|
, sources # A list of paths
|
|
}:
|
|
|
|
writeTextFile {
|
|
name = "haskell.nix-source-pins";
|
|
text = lib.concatMapStringsSep "\n" toString sources;
|
|
}
|