Skip to content

Commit 9211c58

Browse files
Update nix flake inputs structure and add rv-nix-tools to dependency update workflow (#82)
* adapt nix flake inputs for `rv-nix-tools` and `nixpkgs` * adapt `update-version.yml` workflow for `rv-nix-tools` * Set Version: 0.1.71 --------- Co-authored-by: devops <devops@runtimeverification.com>
1 parent 69b0b9d commit 9211c58

File tree

6 files changed

+56
-17
lines changed

6 files changed

+56
-17
lines changed

.github/workflows/update.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- '_update-deps/runtimeverification/wasm-semantics'
6+
- '_update-deps/runtimeverification/rv-nix-tools'
67
workflow_dispatch:
78
concurrency:
89
group: ${{ github.workflow }}-${{ github.ref }}
@@ -42,7 +43,9 @@ jobs:
4243
- name: 'Update Nix flake inputs'
4344
run: |
4445
PYKWASM_VERSION=v"$(cat deps/kwasm_release)"
46+
RV_NIX_TOOLS_VERSION=$(cat deps/rv-nix-tools)
4547
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
48+
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
4649
nix flake update
4750
git add flake.nix flake.lock && git commit -m 'flake.{nix,lock}: update Nix derivations' || true
4851
- name: 'Push updates'

deps/rv-nix-tools

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
854d4f05ea78547d46e807b414faad64cea10ae4

flake.lock

Lines changed: 41 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
description = "komet - K tooling for the Soroban platform";
33

44
inputs = {
5+
rv-nix-tools.url = "github:runtimeverification/rv-nix-tools/854d4f05ea78547d46e807b414faad64cea10ae4";
6+
nixpkgs.follows = "rv-nix-tools/nixpkgs";
7+
58
wasm-semantics.url = "github:runtimeverification/wasm-semantics/v0.1.128";
9+
wasm-semantics.inputs.nixpkgs.follows = "nixpkgs";
10+
611
k-framework.follows = "wasm-semantics/k-framework";
7-
nixpkgs.follows = "k-framework/nixpkgs";
12+
813
flake-utils.follows = "k-framework/flake-utils";
9-
rv-utils.follows = "k-framework/rv-utils";
14+
1015
poetry2nix.follows = "k-framework/poetry2nix";
1116

1217
rust-overlay.url = "github:oxalica/rust-overlay";
@@ -19,7 +24,7 @@
1924
};
2025
};
2126

22-
outputs = { self, k-framework, nixpkgs, flake-utils, rv-utils, wasm-semantics
27+
outputs = { self, k-framework, nixpkgs, flake-utils, rv-nix-tools, wasm-semantics
2328
, rust-overlay, stellar-cli-flake, ... }@inputs: flake-utils.lib.eachSystem [
2429
"x86_64-linux"
2530
"x86_64-darwin"
@@ -54,7 +59,7 @@
5459
komet-pyk = poetry2nix.mkPoetryApplication {
5560
python = pkgs.python310;
5661
projectDir = ./.;
57-
src = rv-utils.lib.mkSubdirectoryAppSrc {
62+
src = rv-nix-tools.lib.mkSubdirectoryAppSrc {
5863
inherit pkgs;
5964
src = ./.;
6065
subdirectories = [ "pykwasm" ];

package/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.70
1+
0.1.71

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "komet"
7-
version = "0.1.70"
7+
version = "0.1.71"
88
description = "K tooling for the Soroban platform"
99
authors = [
1010
"Runtime Verification, Inc. <contact@runtimeverification.com>",

0 commit comments

Comments
 (0)