Monorepo for Tangled tangled.org

nix : Fix cross-system evaluation & drop x86_64-darwin to pass `flake check` #4622

Open daroche.me
targeting master from daroche.me/core:flake-fixes
Open opened by and assigned to daroche.me
targeting master from daroche.me/core:flake-fixes

The current nix expressions perform an Import From Derivation when reading the cargo lockfile due to the interpolation with "{src}", which unfortunately breaks cross-system evaluation (as well as nix flake check).

This PR removes the IFD for Cargo.lock. I hope it doesn't have unintended side effects that I didn't forsee.

Second commit also drops x86_64-darwin from the supported systems set, as it is no longer supported by nixpkgs-unstable (and will be dropped on the next 26.11 release). Both fixes allow nix flake check --all-systems to pass.

Commits 2

flake.nix: Remove now unsupported x86_64-darwin
nix: Fix IFDs preventing cross-system evaluation of packages