Skip to content

Commit

Permalink
Remove fall-back to regular coreutils on Darwin
Browse files Browse the repository at this point in the history
The problem was apparently fixed upstream.

Fixes #424
  • Loading branch information
avdv committed Nov 24, 2023
1 parent ae279df commit 27768ba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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 <nixpkgs> { config = {}; overlays = []; }; in if pkgs.stdenv.isDarwin then pkgs.coreutils else pkgs.pkgsStatic.coreutils",
attribute_path = "pkgsStatic.coreutils",
repository = "@nixpkgs",
)

Expand Down

0 comments on commit 27768ba

Please sign in to comment.