The sound distributed version control system

#555 Building with Nix fails

Closed on December 6, 2021
nrabulinski on October 19, 2021

FINWDBLQNMWD moved back to zstd-seekable 0.1 but flake.nix still references 0.2 which makes the build fail

rohan added a change on October 22, 2021
shell uses the flake created on September 27, 2021
RNNJ4ORVNBL22XE466VC4ABGINIGS6ODPWGUHXTX7SVNIRY3KSDAC
main
rohan added a change on October 22, 2021
xxHash is back created on October 15, 2021
4WCGTAYSNWGCLGEOQVOXRCWNQUO5OHNOMTQRWWBQIR6IF56TZ67QC
main
rohan on October 22, 2021

These changes work for me. The shell.nix change isn’t involved - it just ended up as a dependency

Anderssorby on October 29, 2021

See also #552 where I have also fixed and proposed some changes to the nix build.

rohan on November 30, 2021

I’ve got further fixes to the Nix build as Rust edition 2021 is now required but the latest Pijul isn’t recording them correctly. Probably need to wait till this is fixed: https://pijul.zulipchat.com/#narrow/stream/270693-general/topic/file.20moving/near/262835900

rohan added a change on December 3, 2021
switch to oxalica/rust-overlay created on October 22, 2021
LAFA7YMQZM2FX5NMTAJDZZ3OGOJM7QJVSETRX5ZO5ROWF22OZHWQC
main
rohan added a change on December 3, 2021
override dev tooling created on October 24, 2021
Q4XPH27LXW4Q343HV3HCBXSHVJ5J7ESBHZHMQKSVTXM2QYKVXVJAC
main
rohan added a change on December 3, 2021
XJ7G3QAQUD6EXF5KUTW57NB4QIQRSJWKY57SIBAJ3HLL3OKGGDBQC
rohan added a change on December 3, 2021
JNTWMQQYT63RVCU645SPTVA47TPORROV7TXUNENDRHOZLOCQ352AC
rohan on December 3, 2021

Those changes probably aren’t useful without additional fixes to the Cargo.lock (yasna doesn’t have a conflict but is corrupted - missing the [[package]]) and Cargo.nix (via crate2nix generate) but I simply can’t record them currently as it’s claiming Error: Empty change even though the diff is not empty.

rohan added a change on December 3, 2021
MUYNSHG26H3WEDIQZKKD57H4XCMOVGLDDXZ4SZEFQ6MDUN3HSYEAC
main
rohan added a change on December 3, 2021
BGSVIAYJU7HNJ6BTOCCDHZ47BQ7ADQWBBFP4KJVVH4I6QP4EY3LAC
main
rohan on December 3, 2021

Turns out it’s the new change text writer/reader which is broken. Recording with --all works.

pmeunier added a change on December 6, 2021
RRAB6UKLSNQXMAGX45TC4BIQSDXV46ZDPN2MFWPG7CUCVJLFBVJAC
main
pmeunier added a change on December 6, 2021
JEQCEOQDHPHNBWOKPJR4JR6AQMC4WR3RMHVHHPBBJMQ7IKCVEEPQC
main
pmeunier on December 6, 2021

While I recognise flakes are extremely useful, I don’t use them myself (many reasons), so thanks for testing and fixing, I’ve just merged.

pmeunier closed this discussion on December 6, 2021