I am not sure if this is a bug or I am using flake-compat wrong. When the flake in question has input nixpkgs.url = "nixpkgs", and the lockfile has "path": "/nix/store...-source", flake-compat fails with
error: getting attributes of path '/nix/store/...-source': No such file or directory
I assumed the flake.lock file was ok, since I had just nix flake lock --update-input nixpkgs, but I realized the type had not been updated. Seems this is a lockfile staleness issue.
I am not sure if this is a bug or I am using
flake-compat
wrong. When the flake in question has inputnixpkgs.url = "nixpkgs"
, and the lockfile has"path": "/nix/store...-source"
, flake-compat fails with