nix-serve-ng icon indicating copy to clipboard operation
nix-serve-ng copied to clipboard

Broken build in nixos 22.11

Open Anderssorby opened this issue 2 years ago • 3 comments

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

Anderssorby avatar Mar 05 '23 21:03 Anderssorby

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.

DeeUnderscore avatar Mar 08 '23 18:03 DeeUnderscore

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

Gabriella439 avatar Mar 22 '23 02:03 Gabriella439

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

DeeUnderscore avatar Mar 22 '23 17:03 DeeUnderscore