Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

outputs = { nixpkgs, ... }:
let
microkit-version = "2.0.1";
microkit-version = "2.1.0";
microkit-platforms = {
aarch64-darwin = "macos-aarch64";
x86_64-darwin = "macos-x86-64";
Expand All @@ -38,12 +38,14 @@

env.MICROKIT_SDK = pkgs.fetchzip {
url = "https://github.com/seL4/microkit/releases/download/${microkit-version}/microkit-sdk-${microkit-version}-${microkit-platform}.tar.gz";
hash = {
aarch64-darwin = "sha256-bFFyVBF2E3YDJ6CYbfCOID7KGREQXkIFDpTD4MzxfCE=";
x86_64-darwin = "sha256-tQWrI5LRp05tLy/HIxgN+0KFJrlmOQ+dpws4Fre+6E0=";
x86_64-linux = "sha256-YpgIAXWB8v4Njm/5Oo0jZpRt/t+e+rVTwFTJ8zr2Hn4=";
aarch64-linux = "sha256-GwWDRJalJOpAYCP/qggFOHDh2e2J1LspWUsyjopECYA=";
}.${system} or (throw "Unsupported system: ${system}");
hash =
{
aarch64-darwin = "sha256-SzwdHm0O++5MCZ4+a8o12JOSWJLHl4QK/TU3jyLFNo8=";
x86_64-darwin = "sha256-l5XKyNMhR1ofHeumvJqdl+yNSKX0/beevBmuoCxDRnU=";
x86_64-linux = "sha256-6I3usfpwEe50xxo4u1Bv206CPJJIhZGtwak8doVk+GE=";
aarch64-linux = "sha256-hw3C2lffXTeqpVL/L9j6hG4HnBqZHsGiZwK6UQVlJ6s=";
}
.${system} or (throw "Unsupported system: ${system}");
};

nativeBuildInputs = with pkgs; [
Expand Down
2 changes: 1 addition & 1 deletion solutions/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# If you would like to choose a different path to the SDK, you can pass it as an
# argument.
ifndef MICROKIT_SDK
MICROKIT_SDK := ../microkit-sdk-2.0.1
MICROKIT_SDK := ../microkit-sdk-2.1.0
endif

# In case the default compiler triple doesn't work for you or your package manager
Expand Down
2 changes: 1 addition & 1 deletion tutorial/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# If you would like to choose a different path to the SDK, you can pass it as an
# argument.
ifndef MICROKIT_SDK
MICROKIT_SDK := ../microkit-sdk-2.0.1
MICROKIT_SDK := ../microkit-sdk-2.1.0
endif

# In case the default compiler triple doesn't work for you or your package manager
Expand Down
2 changes: 1 addition & 1 deletion website/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export TUTORIAL_WORD_URL='trustworthy.systems/projects/microkit/tutorial/word'
export TUTORIAL_DOWNLOADS_URL='trustworthy.systems/Downloads/microkit_tutorial'
export MICROKIT_VERSION='2.0.1'
export MICROKIT_VERSION='2.1.0'

mdbook build

2 changes: 1 addition & 1 deletion website/develop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export TUTORIAL_WORD_URL='trustworthy.systems/projects/microkit/tutorial/word'
export TUTORIAL_DOWNLOADS_URL='trustworthy.systems/Downloads/microkit_tutorial'
export MICROKIT_VERSION='2.0.1'
export MICROKIT_VERSION='2.1.0'

mdbook serve --open