From 27768bac903066294f44ad5924811ab7a557f664 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Fri, 24 Nov 2023 14:30:27 +0100 Subject: [PATCH] Remove fall-back to regular coreutils on Darwin The problem was apparently fixed upstream. Fixes #424 --- WORKSPACE | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 08a14a7c8..664da3f30 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -37,10 +37,7 @@ nixpkgs_package( # `run-test-invalid-nixpkgs-package`. nixpkgs_package( name = "coreutils_static", - # Work around https://github.com/tweag/rules_nixpkgs/issues/424. - # `pkgsStatic.coreutils` stopped working on MacOS 11 with x86_64 as used on GitHub actions CI. - # Fall back to `pkgs.coreutils` on MacOS. - nix_file_content = "let pkgs = import { config = {}; overlays = []; }; in if pkgs.stdenv.isDarwin then pkgs.coreutils else pkgs.pkgsStatic.coreutils", + attribute_path = "pkgsStatic.coreutils", repository = "@nixpkgs", )