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-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- '_update-deps/runtimeverification/k'
- '_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: |
K_VERSION=v"$(cat deps/k_release)"
RV_NIX_TOOLS_VERSION=$(cat deps/rv-nix-tools)
sed -i 's! k-framework.url = "github:runtimeverification/k/v[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+"! k-framework.url = "github:runtimeverification/k/'"${K_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

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
44 changes: 37 additions & 7 deletions flake.lock

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

9 changes: 6 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
description = "Blockchain K plugin";

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

k-framework.url = "github:runtimeverification/k/v7.1.257";
nixpkgs.follows = "k-framework/nixpkgs";
k-framework.inputs.nixpkgs.follows = "nixpkgs";
flake-utils.follows = "k-framework/flake-utils";
rv-utils.follows = "k-framework/rv-utils";
poetry2nix.follows = "k-framework/poetry2nix";
poetry2nix.inputs.nixpkgs.follows = "nixpkgs";

cpp-httplib = {
url =
Expand Down Expand Up @@ -39,7 +42,7 @@
flake = false;
};
};
outputs = { self, nixpkgs, k-framework, poetry2nix, flake-utils, rv-utils
outputs = { self, nixpkgs, k-framework, poetry2nix, flake-utils, rv-nix-tools
, cpp-httplib, cryptopp, libff, ate-pairing, xbyak
, ckzg4844, blst, ... }@inputs:
let
Expand Down