How to override flake input (like nixpkgs) when using flake-compat

When importing a flake via flake-compat, is there a way to override an input, like, for example, nixpgks here? Thanks!