aristanetworks / nix-serve-ng

A drop-in replacement for nix-serve that is faster and more reliable
Other
156 stars 14 forks source link

Broken build in nixos 22.11 #24

Open Anderssorby opened 1 year ago

Anderssorby commented 1 year ago

I get this error when I update my system flake https://github.com/aristanetworks/nix-serve-ng/commit/dabf46d65d8e3be80fa2eacd229eb3e621add4bd#commitcomment-103154700

DeeUnderscore commented 1 year ago

Looks like it needs at least Nix 2.13 to build. It won't build with the flake as locked currently, or nixos-22.11, where nix points to 2.11, but it builds with nixpkgs-unstable.

Nix 2.13 is in nixos-22.11, so an override works, but is awkward with the overlays as they are in the flake.

Gabriella439 commented 1 year ago

should we revert https://github.com/aristanetworks/nix-serve-ng/pull/23 then?

DeeUnderscore commented 1 year ago

An alternative would be to override the nix input to nix_2_13, but that'd be more hacky