Skip to content

Commit

Permalink
shell.nix: update fenix to fix deprecation warning
Browse files Browse the repository at this point in the history
With the previous version, the following warning appeared in NixOS
24.11:

    trace: evaluation warning: `rust.toRustTarget platform` is
    deprecated. Use `platform.rust.rustcTarget` instead.

Updating fenix fixes this deprecation warning.
  • Loading branch information
lschuermann committed Dec 28, 2024
1 parent b842f65 commit ecf6ce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ let
rust_overlay = import "${pkgs.fetchFromGitHub {
owner = "nix-community";
repo = "fenix";
rev = "1a92c6d75963fd594116913c23041da48ed9e020";
sha256 = "sha256-L3vZfifHmog7sJvzXk8qiKISkpyltb+GaThqMJ7PU9Y=";
rev = "3743208cafd7bc3c150f0c77c25ef7430e9c0de2";
sha256 = "sha256-a5EMHpDAxLShxBKUdDVmqZMlfiuOtOUzet2xT/E/RiM=";
}}/overlay.nix";

nixpkgs = import <nixpkgs> { overlays = [ rust_overlay ]; };
Expand Down

0 comments on commit ecf6ce4

Please sign in to comment.