Skip to content

tests: hostPlatform -> stdenv.hostPlatform#8122

Merged
khaneliman merged 1 commit intonix-community:masterfrom
bmrips:hostPlatform-in-tests
Nov 3, 2025
Merged

tests: hostPlatform -> stdenv.hostPlatform#8122
khaneliman merged 1 commit intonix-community:masterfrom
bmrips:hostPlatform-in-tests

Conversation

@bmrips
Copy link
Copy Markdown
Contributor

@bmrips bmrips commented Nov 3, 2025

Description

NixOS/nixpkgs#456527 removed the pkgs.hostPlatform alias. Hence, this PR replaces all of its occurrences with pkgs.stdenv.hostPlatform.

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

@khaneliman khaneliman merged commit 2318e30 into nix-community:master Nov 3, 2025
12 checks passed
@bmrips bmrips deleted the hostPlatform-in-tests branch November 3, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants