diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2fb3b1..163d365 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: set -x # test `nix develop` - nix develop .# --command -- bash -c "solc-0.8.26 --version" + nix develop .# --command -- bash -c "solc-0.8.27 --version" # test `nix shell` nix shell .#solc_0_8_19 @@ -37,7 +37,7 @@ jobs: # test solc.nix as input to other flakes # Note: overriding flake input is needed as a workaround to local sub flake with overlapping paths. nix develop ./test/.# --override-input solc $PWD --command -- bash -c "solc --version" - nix develop ./test/.# --override-input solc $PWD --command -- bash -c "solc-0.8.26 --version" + nix develop ./test/.# --override-input solc $PWD --command -- bash -c "solc-0.8.27 --version" ci-check-success: needs: [ci] runs-on: ubuntu-latest diff --git a/flake.lock b/flake.lock index 0856903..d466b07 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "lastModified": 1726560853, + "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", "type": "github" }, "original": { @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1717112898, - "narHash": "sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY=", + "lastModified": 1726481836, + "narHash": "sha256-MWTBH4dd5zIz2iatDb8IkqSjIeFum9jAqkFxgHLdzO4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6132b0f6e344ce2fe34fc051b72fb46e34f668e0", + "rev": "20f9370d5f588fb8c72e844c54511cab054b5f40", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 4666e59..d928ede 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,7 @@ flake-utils.url = "github:numtide/flake-utils"; solc-macos-amd64-list-json = { # Go to https://github.com/ethereum/solc-bin/blob/gh-pages/macosx-amd64/list.json to obtain a revision - url = "file+https://github.com/ethereum/solc-bin/raw/f743ca7/macosx-amd64/list.json"; + url = "file+https://github.com/ethereum/solc-bin/raw/a2346e2/macosx-amd64/list.json"; flake = false; }; }; @@ -38,7 +38,7 @@ in { # default shell with the latest solc compiler - devShells.default = pkgs.mkShell { buildInputs = [ pkgs.solc_0_8_26 ]; }; + devShells.default = pkgs.mkShell { buildInputs = [ pkgs.solc_0_8_27 ]; }; # export all solc packages packages = pkgs.solcPackages; diff --git a/solc-listing.nix b/solc-listing.nix index fffcd12..5cfd980 100644 --- a/solc-listing.nix +++ b/solc-listing.nix @@ -1,4 +1,12 @@ [ # DO NOT MODIFY! AUTO GENERATED BY ./utils/create-listing.sh +{ + version = "0.8.27"; + sha256 = { + solc-static-linux = "sha256-uZd9UAwXy6bwAyypOe+YxN7PY2PxnzhtBfsC9wgRUmQ="; + solc-macos-amd64 = "sha256-jEBvpcq5vQoXXaAsZSBy+BTD0GIFov1tkrwVJZmmqrs="; + solc-macos-aarch64 = "sha256-jEBvpcq5vQoXXaAsZSBy+BTD0GIFov1tkrwVJZmmqrs="; + }; +} { version = "0.8.26"; sha256 = { diff --git a/test/flake.nix b/test/flake.nix index 8cacd47..6aac6cf 100644 --- a/test/flake.nix +++ b/test/flake.nix @@ -36,8 +36,8 @@ mkShell { buildInputs = [ - solc_0_8_26 - (solc.mkDefault pkgs solc_0_8_26) + solc_0_8_27 + (solc.mkDefault pkgs solc_0_8_27) ] ++ ( if system == "x86_64-linux" then diff --git a/utils/download.sh b/utils/download.sh index 3dbbe6d..cc5b122 100755 --- a/utils/download.sh +++ b/utils/download.sh @@ -12,7 +12,7 @@ list_all_versions() { for i in $(seq 0 17); do echo 0.5."$i"; done for i in $(seq 0 9); do echo 0.6."$i"; done for i in $(seq 0 6); do echo 0.7."$i"; done - for i in $(seq 0 26); do echo 0.8."$i"; done + for i in $(seq 0 27); do echo 0.8."$i"; done } run_wget() {