Stream: rust-flake

Topic: suppression of the deprecation warning.


view this post on Zulip akileshas (Jun 16 2026 at 17:14):

The of nested list has been deprecated in the recent release of the NixOS 26.05 "Yarara" (nixpkgs 26.05).
So, it shoutouts an deprecation warning on each time while developing an application via the rust-flake

image.png
( refs - https://nixos.org/manual/nixpkgs/stable/release-notes#sec-nixpkgs-release-26.05-lib-deprecations )

And, examples of warning i am getting on an x86 64-bit linux system.

evaluation warning: Dependency of package 'rust-flake-devshell' uses a nested list in attribute 'buildInputs'.
                    This is deprecated as of Nixpkgs release 26.05, and support will
                    be removed in a future nixpkgs release.
evaluation warning: Dependency of package 'rust-flake-devshell' uses a nested list in attribute 'buildInputs'.
                    This is deprecated as of Nixpkgs release 26.05, and support will
                    be removed in a future nixpkgs release.
evaluation warning: Dependency of package 'rust-flake-devshell' uses a nested list in attribute 'buildInputs'.
                    This is deprecated as of Nixpkgs release 26.05, and support will
                    be removed in a future nixpkgs release.
evaluation warning: Dependency of package 'rust-flake-devshell' uses a nested list in attribute 'buildInputs'.
                    This is deprecated as of Nixpkgs release 26.05, and support will
                    be removed in a future nixpkgs release.
evaluation warning: Dependency of package 'rust-flake-devshell' uses a nested list in attribute 'nativeBuildInputs'.
                    This is deprecated as of Nixpkgs release 26.05, and support will
                    be removed in a future nixpkgs release.
evaluation warning: Dependency of package 'rust-flake-devshell' uses a nested list in attribute 'nativeBuildInputs'.
                    This is deprecated as of Nixpkgs release 26.05, and support will
                    be removed in a future nixpkgs release.
evaluation warning: Dependency of package 'rust-flake-devshell' uses a nested list in attribute 'nativeBuildInputs'.
                    This is deprecated as of Nixpkgs release 26.05, and support will
                    be removed in a future nixpkgs release.
evaluation warning: Dependency of package 'rust-flake-devshell' uses a nested list in attribute 'nativeBuildInputs'.
                    This is deprecated as of Nixpkgs release 26.05, and support will
                    be removed in a future nixpkgs release.

an PR has been made for supress this warning in the repo - https://github.com/juspay/rust-flake/pull/84/
take an look at it.

references:

view this post on Zulip Srid (Jun 16 2026 at 19:47):

Sorry, this got slipped. I've merged it now.

view this post on Zulip akileshas (Jun 16 2026 at 19:52):

thanks for the quick action :heart:


Last updated: Jul 03 2026 at 16:24 UTC