eza icon indicating copy to clipboard operation
eza copied to clipboard

bug: Fails to install from flake.nix on macOS 26

Open Sammcb opened this issue 7 months ago • 1 comments

I was trying to install eza v0.23.3 from a flake (using the commit associated with that version). I passed in a latest nixpkgs commit (https://github.com/NixOS/nixpkgs/commit/5263bc6f38b908d53e3e27e3b023f9627c5ea136 for example) and the package failed to build. Because the flake uses nixpkgs-unstable, the failure also occurred when not passing in my own nixpkgs version. I got the following error when trying to build eza:

error: darwin.apple_sdk_11_0 has been removed as it was a legacy compatibility stub; see <https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks> for migration instructions

I was able to fix this by overriding the nixpkgs input to an older version (using https://github.com/NixOS/nixpkgs/commit/31cab292f448cb33ea816c5c4ad0a27c0ae9fd43 worked for example).

Sammcb avatar Sep 15 '25 23:09 Sammcb

That's not really a fix; https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks has fix information as the error mentions.

eclairevoyant avatar Oct 15 '25 08:10 eclairevoyant