1
1
Fork
You've already forked nix-cafeteria
0
No description
  • Nix 100%
Malik af4cfc8f36
All checks were successful
Nix Flake Check / flake-check (pull_request) Successful in 1m54s
Nix Flake Check / flake-check (push) Successful in 1m24s
refactor(ipfs): remove hash from block type; stub dag-pb file hash resolution
- Remove hash field from IPFSBlock struct; content hash is resolved at
 fetch time rather than stored in the block
- rawFetcher uses b.cid.hash directly (raw: CID hash == content hash)
- dagPbFileFetcher delegates to getDagPbFileHash stub (throws until
 CAR-based hash resolution is implemented)
- Simplify dagPbFileBlock restriction to b.path != null
- Remove hash from mkBlockArgs and mkBlock (dag-pb file hash will be
 derived automatically; raw hash comes from CID)
- fetchFromIpfs retains hash parameter for cid.parseHash construction
- Remove testFetchFromIpfsDagPbWithHash (explicit hash no longer supported
 for dag-pb file blocks)
2026年04月04日 16:00:06 +02:00
.forgejo/workflows add action 2026年03月06日 00:29:17 +01:00
checks refactor(lib): group multiformats specs under lib/multiformats/ 2026年04月03日 16:41:59 +02:00
lib refactor(ipfs): remove hash from block type; stub dag-pb file hash resolution 2026年04月04日 16:00:06 +02:00
modules feat: add NixOS/home-manager module for configurable IPFS gateway 2026年03月06日 22:19:56 +01:00
tests refactor(ipfs): remove hash from block type; stub dag-pb file hash resolution 2026年04月04日 16:00:06 +02:00
.gitignore refactor: centralize checks in checks.nix 2026年03月05日 17:39:51 +01:00
AGENTS.md Initial Commit 2026年02月21日 19:17:28 +01:00
CONTRIBUTING.md add CONTRIBUTING.md 2026年03月05日 12:16:25 +01:00
flake.lock add yants 2026年04月01日 15:13:26 +02:00
flake.nix add yants 2026年04月01日 15:13:26 +02:00
LICENSE.md Add licence 2026年03月01日 19:06:29 +01:00
README.md add CONTRIBUTING.md 2026年03月05日 12:16:25 +01:00
treefmt.nix remove unused parameters 2026年03月06日 21:17:36 +01:00

nix-cafeteria

Experimental playground for content-addressed fetchers in Nix.

The goal is to develop and test Nix functions such as fetchFromIPFS and fetchFromRadicle that fetch sources via content-addressing protocols rather than location-based URLs — with the long-term aim of contributing them to nixpkgs.

This work is related to the Pre-RFC: Generic content-addressed fetchers (IPFS, Radicle, etc.) on the NixOS Discourse.

Status

Early experiment. Nothing here is production-ready.

Contributing

please read the Contributing guidelines before suggesting changes.