For weeks now I’ve had the following input in the flake of a project I’m working on
alexandria.url = "git+https://github.com/magthe/alexandria?ref=add-haskell-lib&dir=haskell";
But now it’s stopped working
❮ nix flake update alexandria
warning: Git tree '/home/elrond/Work/hs-alexandria' is dirty
fatal: repository 'https://github.com/magthe/alexandria?dir=haskell/' not found
warning: could not update mtime for file '/home/elrond/.cache/nix/gitv3/1vl7ncz7bsa6pblshndp4kdf7c42ss9958n1vz26rg6wqbmri9w1/refs/heads/add-haskell-lib': changing modification time of '"/home/elrond/.cache/nix/gitv3/1vl7ncz7bsa6pblshndp4kdf7c42ss9958n1vz26rg6wqbmri9w1/refs/heads/add-haskell-lib"' (using `utimensat`): No such file or directory
error:
… while updating the lock file of flake 'git+file:///home/elrond/Work/alexandria?dir=examples/haskell'
… while updating the flake input 'alexandria'
… while fetching the input 'git+https://github.com/magthe/alexandria?dir=haskell&ref=add-haskell-lib'
error: resolving Git reference 'add-haskell-lib': revspec 'add-haskell-lib' not found
Is it no longer possible to pull a flake.nix
from a subdir?
❯ nix --version
nix (Nix) 2.24.12
❯ git --version
git version 2.47.2