From e57b3e6937949f92ac1683fe69f0bcaf2408740f Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Fri, 5 Jun 2026 06:21:39 +0000 Subject: [PATCH] Avoid warning about darwin-x86_64 expiring --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 6cc7aa7..3a808b3 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,9 @@ system = prev.stdenv.hostPlatform.system; config = { allowUnfree = true; + } + // nixpkgs.lib.optionalAttrs (prev.stdenv.hostPlatform.system == "x86_64-darwin") { + allowDeprecatedx86_64Darwin = true; }; }) antigravity-cli @@ -95,6 +98,7 @@ pkgs = import nixpkgs { system = "x86_64-darwin"; overlays = [ overlay-master ]; + config.allowDeprecatedx86_64Darwin = true; }; extraSpecialArgs = { primaryUser = homeManagerUser; @@ -120,6 +124,7 @@ ./hosts/mars/darwin.nix (_: { nixpkgs.overlays = [ overlay-master ]; + nixpkgs.config.allowDeprecatedx86_64Darwin = true; }) ]; };