mnix: Nix binary-cache client PoC in MoonBit (install hello from cache.nixos.org) (#1)
This commit was merged in pull request #1.
This commit is contained in:
1 parent
4e7ce11973
commit
fa70164336
48 files changed
+3112
-2
No files matched your search
@@ -0,0 +1,27 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "experiments/moon-nix/sign"
|
||||
|
||||
import {
|
||||
"experiments/moon-nix/narinfo",
|
||||
"experiments/moon-nix/store",
|
||||
}
|
||||
|
||||
// Values
|
||||
pub let cache_nixos_org_key : String
|
||||
|
||||
pub fn fingerprint(@narinfo.NarInfo) -> String raise @store.NixError
|
||||
|
||||
pub fn verify_narinfo(@narinfo.NarInfo, Array[PublicKey]) -> String raise @store.NixError
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct PublicKey {
|
||||
name : String
|
||||
key : Bytes
|
||||
}
|
||||
pub fn PublicKey::parse(String) -> Self raise @store.NixError
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
Reference in new issue
Block a user