diff --git a/WORKSPACE b/WORKSPACE index 08a14a7c..664da3f3 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", )