Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- '_update-deps/runtimeverification/wasm-semantics'
- '_update-deps/runtimeverification/rv-nix-tools'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -42,7 +43,9 @@ jobs:
- name: 'Update Nix flake inputs'
run: |
PYKWASM_VERSION=v"$(cat deps/kwasm_release)"
RV_NIX_TOOLS_VERSION=$(cat deps/rv-nix-tools)
sed -i 's! wasm-semantics.url = "github:runtimeverification/wasm-semantics/v[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+"! wasm-semantics.url = "github:runtimeverification/wasm-semantics/'"${PYKWASM_VERSION}"'"!' flake.nix
sed -i 's! rv-nix-tools.url = "github:runtimeverification/rv-nix-tools/[a-z0-9\.]*"! rv-nix-tools.url = "github:runtimeverification/rv-nix-tools/'"${RV_NIX_TOOLS_VERSION}"'"!' flake.nix
nix flake update
git add flake.nix flake.lock && git commit -m 'flake.{nix,lock}: update Nix derivations' || true
- name: 'Push updates'
Expand Down
1 change: 1 addition & 0 deletions deps/rv-nix-tools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
854d4f05ea78547d46e807b414faad64cea10ae4
52 changes: 41 additions & 11 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
description = "komet - K tooling for the Soroban platform";

inputs = {
rv-nix-tools.url = "github:runtimeverification/rv-nix-tools/854d4f05ea78547d46e807b414faad64cea10ae4";
nixpkgs.follows = "rv-nix-tools/nixpkgs";

wasm-semantics.url = "github:runtimeverification/wasm-semantics/v0.1.128";
wasm-semantics.inputs.nixpkgs.follows = "nixpkgs";

k-framework.follows = "wasm-semantics/k-framework";
nixpkgs.follows = "k-framework/nixpkgs";

flake-utils.follows = "k-framework/flake-utils";
rv-utils.follows = "k-framework/rv-utils";

poetry2nix.follows = "k-framework/poetry2nix";

rust-overlay.url = "github:oxalica/rust-overlay";
Expand All @@ -19,7 +24,7 @@
};
};

outputs = { self, k-framework, nixpkgs, flake-utils, rv-utils, wasm-semantics
outputs = { self, k-framework, nixpkgs, flake-utils, rv-nix-tools, wasm-semantics
, rust-overlay, stellar-cli-flake, ... }@inputs: flake-utils.lib.eachSystem [
"x86_64-linux"
"x86_64-darwin"
Expand Down Expand Up @@ -54,7 +59,7 @@
komet-pyk = poetry2nix.mkPoetryApplication {
python = pkgs.python310;
projectDir = ./.;
src = rv-utils.lib.mkSubdirectoryAppSrc {
src = rv-nix-tools.lib.mkSubdirectoryAppSrc {
inherit pkgs;
src = ./.;
subdirectories = [ "pykwasm" ];
Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.70
0.1.71
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "komet"
version = "0.1.70"
version = "0.1.71"
description = "K tooling for the Soroban platform"
authors = [
"Runtime Verification, Inc. <contact@runtimeverification.com>",
Expand Down