Skip to content

Commit

Permalink
Stop using deprecated stdenv.lib
Browse files Browse the repository at this point in the history
Running `nix develop` prints a warning message about using this
deprecated attribute.

See NixOS/nixpkgs#108938

Update oldNixpkgs to the latest working version
  • Loading branch information
resonant-riches committed Feb 21, 2024
1 parent b967def commit 156d660
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Old revision of nixos-unstable to get a specific version (0.4.24)
# of the Solidity compiler, required for building azimuth-solidity.
inputs.oldNixpkgs.url = "nixpkgs/51d9ad94384f21ecfa17bd9e0b01dfef3d416ab1";
inputs.oldNixpkgs.url = "nixpkgs/4adca1dba0d4204bda9e0c4c2e0cc82d31a67f07";

# The old revision of nixpkgs needed for solc is broken on many other systems
inputs.systems.url = "github:nix-systems/x86_64-linux";
Expand Down
4 changes: 2 additions & 2 deletions solc_0_4_24/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchzip, fetchFromGitHub, boost, cmake, z3 }:
{ stdenv, lib, fetchzip, fetchFromGitHub, boost, cmake, z3 }:

let
version = "0.4.24";
Expand Down Expand Up @@ -52,7 +52,7 @@ stdenv.mkDerivation {

outputs = [ "out" "dev" ];

meta = with stdenv.lib; {
meta = with lib; {
description = "Compiler for Ethereum smart contract language Solidity";
longDescription = "This package also includes `lllc', the LLL compiler.";
homepage = https://github.com/ethereum/solidity;
Expand Down

0 comments on commit 156d660

Please sign in to comment.