Skip to content

Commit d3a6a54

Browse files
committed
Merge remote-tracking branch 'origin/master' into release
2 parents c444479 + 62c2eaa commit d3a6a54

File tree

4 files changed

+50
-14
lines changed

4 files changed

+50
-14
lines changed

.github/workflows/update-version.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- '_update-deps/runtimeverification/blockchain-k-plugin'
66
- '_update-deps/runtimeverification/k'
7+
- '_update-deps/runtimeverification/rv-nix-tools'
78
workflow_dispatch:
89
# Stop in progress workflows on the same branch and same workflow to use latest committed code
910
concurrency:
@@ -52,8 +53,10 @@ jobs:
5253
run: |
5354
K_VERSION=v$(cat deps/k_release)
5455
BKP_VERSION=$(cat deps/blockchain-k-plugin_release)
56+
RV_NIX_TOOLS_VERSION=$(cat deps/rv-nix-tools)
5557
sed -i 's! k-framework.url = "github:runtimeverification/k/[v0-9\.]*"! k-framework.url = "github:runtimeverification/k/'"${K_VERSION}"'"!' flake.nix
5658
sed -i 's! "github:runtimeverification/blockchain-k-plugin/[0-9a-f]*"! "github:runtimeverification/blockchain-k-plugin/'"${BKP_VERSION}"'"!' flake.nix
59+
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
5760
nix run .#update-from-submodules
5861
nix flake update
5962
git add flake.nix flake.lock && git commit -m 'flake.{nix,lock}: update Nix derivations' || true

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 & 8 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 & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,24 @@
22
description = "A flake for the KEVM Semantics";
33

44
inputs = {
5+
rv-nix-tools.url = "github:runtimeverification/rv-nix-tools/854d4f05ea78547d46e807b414faad64cea10ae4";
6+
nixpkgs.follows = "rv-nix-tools/nixpkgs";
7+
58
k-framework.url = "github:runtimeverification/k/v7.1.262";
6-
nixpkgs.follows = "k-framework/nixpkgs";
9+
k-framework.inputs.nixpkgs.follows = "nixpkgs";
710
flake-utils.follows = "k-framework/flake-utils";
8-
rv-utils.follows = "k-framework/rv-utils";
911
poetry2nix.follows = "k-framework/poetry2nix";
12+
poetry2nix.inputs.nixpkgs.follows = "nixpkgs";
1013
blockchain-k-plugin = {
1114
url =
1215
"github:runtimeverification/blockchain-k-plugin/1fda07d61df64ef9ae2ea87e6f767a02d30d4599";
1316
inputs.flake-utils.follows = "k-framework/flake-utils";
14-
inputs.nixpkgs.follows = "k-framework/nixpkgs";
17+
inputs.nixpkgs.follows = "nixpkgs";
1518
};
1619
haskell-backend.follows = "k-framework/haskell-backend";
1720
};
1821
outputs = { self, k-framework, haskell-backend, nixpkgs, flake-utils
19-
, blockchain-k-plugin, rv-utils, ... }@inputs:
22+
, blockchain-k-plugin, rv-nix-tools, ... }@inputs:
2023
let
2124
nixLibs = pkgs:
2225
with pkgs;
@@ -217,12 +220,12 @@
217220
] ./.);
218221
};
219222

220-
check-submodules = rv-utils.lib.check-submodules pkgs {
223+
check-submodules = rv-nix-tools.lib.check-submodules pkgs {
221224
inherit k-framework blockchain-k-plugin;
222225
};
223226

224227
update-from-submodules =
225-
rv-utils.lib.update-from-submodules pkgs ./flake.lock {
228+
rv-nix-tools.lib.update-from-submodules pkgs ./flake.lock {
226229
blockchain-k-plugin.submodule = "deps/plugin";
227230
};
228231
};

0 commit comments

Comments
 (0)