Skip to content

NPV 165

Michael Daniels edited this page Apr 16, 2026 · 3 revisions

NPV-165: strictDeps must not regress from true to false

Description

strictDeps helps ensure that inputs are placed in the correct list of dependencies (nativeBuildInputs, buildInputs, etc.). It should evaluate to true for all new packages, and once it evaluates to true, it should not regress.

For more information on strictDeps, see https://nixos.org/manual/nixpkgs/unstable/#var-stdenv-strictDeps.

Error message

- Attribute `pkgs.{package_name}` previously evaluated with `strictDeps = true`, but now evaluates with `strictDeps = false`.
  Please re-enable `strictDeps = true;` in {file}.

Clone this wiki locally