haskell.nix/mk-local-hackage-repo/root.json
Moritz Angermann dfefba5be7
Call cabal project to nix (now with hackage-truncate) (#135)
* 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.
2019-05-21 20:05:03 +08:00

35 lines
536 B
JSON

{
"signatures": [],
"signed": {
"_type": "Root",
"expires": "@expires@",
"keys": {
},
"roles": {
"mirrors": {
"keyids": [ ],
"threshold": 0
},
"root": {
"keyids": [ ],
"threshold": 0
},
"snapshot": {
"keyids": [ ],
"threshold": 0
},
"targets": {
"keyids": [
],
"threshold": 0
},
"timestamp": {
"keyids": [
],
"threshold": 0
}
},
"version": 1
}
}