Giter VIP home page Giter VIP logo

risc0pkgs's Introduction

risc0pkgs - Nixified RISC Zero Packages

risc0pkgs contains risc0 related packages like r0vm and risc0's rustc fork packaged with Nix. Moreover, it provides a helper function: buildRisc0Package, which you can use to package your risc0 project. The following section describes how to set up a risc0 project from scratch.

Getting Started

It's recommended to get started by initializing your project using the default template:

mkdir risc0-workspace
cd risc0-workspace

nix flake init -t github:cspr-rad/risc0pkgs

git init
git add -A

nix build .#risc0package

If you want to integrate risc0 into your existing flake, see ./templates/default/flake.nix.

Development Shell

To get dropped into a development shell with all the required tooling, run:

nix develop

risc0pkgs's People

Contributors

marijanp avatar quinn-dougherty avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

risc0pkgs's Issues

Support for `aarch64-linux`

By default rustc0 is released for the following platforms:

  • aarch64-apple-darwin
  • x86_64-apple-darwin
  • x86_64-unknown-linux-gnu

In risc0pkgs, x86_64-unknown-linux-gnu is used for all Linux machines:

if stdenv.hostPlatform.isLinux
then
builtins.fetchurl
{
url = "https://github.com/risc0/rust/releases/download/test-release-2/rust-toolchain-x86_64-unknown-linux-gnu.tar.gz";
sha256 = "sha256-ilCDZk+YY8lUFqdITR1w1OxBsjNVfUlYUTQDzk2/D9s=";
}
else if stdenv.hostPlatform.system == "x86_64-darwin"

I would like to make it compatible with aarch64-linux.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.