Nix-shell throwing To materialize project.plan-nix for Agda entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'

~/src/plutus$ nix-shell
trace: To materialize project.plan-nix for Agda entirely, pass a writable path as the materialized argument and run the ‘updateMaterialized’ script in ‘passthru’.
building ‘/nix/store/wbh60x0sc70f563d3yaaqazbr0ravf6s-dot-cabal-hackage.haskell.org-at-2021-06-10T000000Z.drv’…
fdLock: invalid argument (Invalid argument)
builder for ‘/nix/store/wbh60x0sc70f563d3yaaqazbr0ravf6s-dot-cabal-hackage.haskell.org-at-2021-06-10T000000Z.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/04p4lx7i060n2739vxbxp6kw8z7hm6xk-Agda-plan-to-nix-pkgs.drv’: 1 dependencies couldn’t be built
cannot build derivation ‘/nix/store/qg7f8cal8y0qknfgs3cbfkjyai0cys13-Agda-plan-to-nix-pkgs.drv’: 1 dependencies couldn’t be built
error: build of ‘/nix/store/qg7f8cal8y0qknfgs3cbfkjyai0cys13-Agda-plan-to-nix-pkgs.drv’ failed
(use ‘–show-trace’ to show detailed location information)