Rust package error: requires newer rustc

This is what I ended up doing to solve my issue, allowing me to run nix-build to compile the Rust application I am working on.

# Note that currently stable rust toolchain is 1.69.0. We require at
# least 1.73.0 to build this application. For details of how to use a
# more recent version of the Rust compiler via a community-maintained
# see:
#
# https://nixos.org/manual/nixpkgs/stable/#using-community-maintained-rust-toolchains
#
# Use the oxalica Rust overlay to make use of the latest stable version
# of the Rust compiler.

with import <nixpkgs>
{
  overlays = [
    (import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"))
  ];
};
let
  rustPlatform = makeRustPlatform {
    cargo = rust-bin.stable.latest.minimal;
    rustc = rust-bin.stable.latest.minimal;
  };
in
rustPlatform.buildRustPackage rec {

Not out of the woods yet, the tests for the application are failing which is blocking the build from completing successfully. Now to puzzle out how to disable them from being compiled/executed until they’re fixed upstream.