mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
* This adds more logic for the cabalProjectToNix idf That is, something like this: ``` nix-build --expr 'with import ./. {}; callCabalProjectToNix { index-state = "2019-04-30T00:00:00Z"; src = /some/path; }' ``` should produce something that can be build with mkCabalProjectPkgSet. * Make sure the hackageTarball's store path doesn't change previously the fetchurl would produce a different store path each and every time as hackage's index is a moving target. With this impurity setup, we can ignore this. * Fix test * Proper name * Re-enable test * Allow to parameterize over the `system` for the test default.nix * Copy instead of link for ifds. This makes me really sad.
32 lines
654 B
JSON
32 lines
654 B
JSON
{
|
|
"signatures": [],
|
|
"signed": {
|
|
"_type": "Snapshot",
|
|
"expires": "@expires@",
|
|
"meta": {
|
|
"<repo>/01-index.tar.gz": {
|
|
"hashes": {
|
|
"md5": "@index_md5@",
|
|
"sha256": "@index_sha256@"
|
|
},
|
|
"length": @index_length@
|
|
},
|
|
"<repo>/root.json": {
|
|
"hashes": {
|
|
"md5": "@root_md5@",
|
|
"sha256": "@root_sha256@"
|
|
},
|
|
"length": @root_length@
|
|
},
|
|
"<repo>/mirrors.json": {
|
|
"hashes": {
|
|
"md5": "@mirrors_md5@",
|
|
"sha256": "@mirrors_sha256@"
|
|
},
|
|
"length": @mirrors_length@
|
|
}
|
|
},
|
|
"version": 1
|
|
}
|
|
}
|