From eccbe9586a12316252e64ee3db3a453fc19777e4 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 25 Sep 2024 18:31:34 +0200 Subject: [PATCH] flake: use clangStdenv for `overlays.default` We don't support GCC anymore for building, so the overlay currently fails to evaluate with error: assertion '((stdenv).cc.isClang || lintInsteadOfBuild)' failed `clangStdenv` seems like a reasonable default now. Noticed while upgrading Lix for our Hydra fork. Change-Id: I948a7c03b3e5648fc7c596f96e1b8053a9e7f92f --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 46f9e43e8..f77f848ca 100644 --- a/flake.nix +++ b/flake.nix @@ -217,7 +217,7 @@ # A Nixpkgs overlay that overrides the 'nix' and # 'nix.perl-bindings' packages. - overlays.default = overlayFor (p: p.stdenv); + overlays.default = overlayFor (p: p.clangStdenv); hydraJobs = { # Binary package for various platforms.