`nix profile install` does not work after latest update

Hello,
I have updated my nix installation (on a non NixOS linux) and I can’t use nix profile install anymore. list and all works fine but install fails with error.

path '/home/owochle' does not contain a 'flake.nix', searching up
error: path '/home/owochle' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)

I have not changed a thing in my nix config.
Also the nix-profile directory seems to have disappeared from my path as I cannot access any binaries installed in my nix profile.

nix profile install with what args?

For example nix profile install nixpkgs#eza

What’s the output of nix registry list | grep nixpkgs?

global flake:nixpkgs github:NixOS/nixpkgs/nixpkgs-unstable