Skip to content

Commit 1f69dd9

Browse files
juliankunersF-WRunTimerv-auditor
authored
Update nix flake inputs structure and add rv-nix-tools to dependency update workflow (#727)
* adapt nix flake inputs for `rv-nix-tools` and `nixpkgs` * adapt `update-version.yml` workflow for `rv-nix-tools` * Set Version: 0.1.129 --------- Co-authored-by: Freeman <[email protected]> Co-authored-by: devops <[email protected]>
1 parent b744db2 commit 1f69dd9

File tree

6 files changed

+52
-12
lines changed

6 files changed

+52
-12
lines changed

.github/workflows/update-version.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
branches:
55
- '_update-deps/runtimeverification/k'
6+
- '_update-deps/runtimeverification/rv-nix-tools'
7+
68
# Stop in progress workflows on the same branch and same workflow to use latest committed code
79
concurrency:
810
group: ${{ github.workflow }}-${{ github.ref }}
@@ -46,7 +48,9 @@ jobs:
4648
- name: 'Update Nix flake inputs'
4749
run: |
4850
K_VERSION=v"$(cat deps/k_release)"
51+
RV_NIX_TOOLS_VERSION=$(cat deps/rv-nix-tools)
4952
sed -i 's! k-framework.url = "github:runtimeverification/k/v[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+"! k-framework.url = "github:runtimeverification/k/'"${K_VERSION}"'"!' flake.nix
53+
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
5054
nix flake update
5155
git add flake.nix flake.lock && git commit -m 'flake.{nix,lock}: update Nix derivations' || true
5256
- 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: 37 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22
description = "K Semantics of WebAssembly";
33

44
inputs = {
5+
rv-nix-tools.url = "github:runtimeverification/rv-nix-tools/854d4f05ea78547d46e807b414faad64cea10ae4";
6+
nixpkgs.follows = "rv-nix-tools/nixpkgs";
7+
8+
59
k-framework.url = "github:runtimeverification/k/v7.1.257";
6-
nixpkgs.follows = "k-framework/nixpkgs";
10+
k-framework.inputs.nixpkgs.follows = "nixpkgs";
11+
712
flake-utils.follows = "k-framework/flake-utils";
8-
rv-utils.follows = "k-framework/rv-utils";
913
poetry2nix.follows = "k-framework/poetry2nix";
14+
poetry2nix.inputs.nixpkgs.follows = "nixpkgs";
1015
};
1116

12-
outputs = { self, k-framework, nixpkgs, flake-utils, rv-utils, ... }@inputs:
17+
outputs = { self, k-framework, nixpkgs, flake-utils, rv-nix-tools, ... }@inputs:
1318
let
1419
overlay = (final: prev:
1520
let

package/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.128
1+
0.1.129

pykwasm/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 = "pykwasm"
7-
version = "0.1.128"
7+
version = "0.1.129"
88
description = ""
99
authors = [
1010
"Runtime Verification, Inc. <[email protected]>",

0 commit comments

Comments
 (0)