Nix-shell error args.__raw

I updated my nix package manager to nix version 2.24.10. Trying to use nix-shell now results in the same error always. What am I doing wrong?

… while evaluating a branch condition
at /nix/store/fh3dwxzz3j3l3svhy9wd949w5ypfq6r6-nixpkgs/nixpkgs/pkgs/stdenv/booter.nix:99:7:
  98|     thisStage =
  99|       if args.__raw or false
    |       ^
 100|       then args'

Please post full trace.