Skip to content

Commit

Permalink
Reword nix platform error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dougch committed Jun 7, 2023
1 parent d4c6ae5 commit e615a04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
aws-lc = awslc.packages.${system}.aws-lc;
# TODO: submit a flake PR
corretto = import nix/amazon-corretto-17.nix { pkgs = pkgs; };
# TODO: We have parts of our CI that rely on clang-format-15, but that is only avalible on github:nixos/nixpkgs/nixos-unstable
# TODO: We have parts of our CI that rely on clang-format-15, but that is only available on github:nixos/nixpkgs/nixos-unstable
llvmPkgs = pkgs.llvmPackages_14;
pythonEnv = import ./nix/pyenv.nix { pkgs = pkgs; };
# Note: we're rebuilding, not importing from nixpkgs for the mkShells.
Expand Down
2 changes: 1 addition & 1 deletion nix/amazon-corretto-17.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pkgs.stdenv.mkDerivation rec {
sha256 = "sha256-DvL/1F1FD7bksodDNNJL+lKBMWOPuYdOihJ/CQxosNU=";
};
}.${pkgs.stdenv.hostPlatform.system} or (throw
"Unsupported system: ${pkgs.stdenv.hostPlatform.system}");
"No build profile setup for this platform: ${pkgs.stdenv.hostPlatform.system}");

# See: https://github.com/NixOS/patchelf/issues/10
dontStrip = 1;
Expand Down

0 comments on commit e615a04

Please sign in to comment.