Skip to content

nix: use stdenv.hostPlatform for system and isLinux - #146

Merged
mescon merged 1 commit into
mescon:masterfrom
schiffy91:nix-host-platform
Nov 13, 2026
Merged

mescon merged 1 commit into
mescon:masterfrom
schiffy91:nix-host-platform

Conversation

@schiffy91

Copy link
Copy Markdown

nixpkgs now warns on every evaluation that pkgs.system and stdenv.isLinux are deprecated. This switches the four uses in flake.nix to their stdenv.hostPlatform equivalents. No behaviour change; the flake evaluates as before without the warnings.

nixpkgs now warns on every evaluation that pkgs.system and
stdenv.isLinux are deprecated. Use their hostPlatform equivalents.

Signed-off-by: Alexander Schiffhauer <Alexander.Schiffhauer@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@mescon
mescon enabled auto-merge November 13, 2026 21:52
@mescon
mescon merged commit 8b9af30 into mescon:master Nov 13, 2026
17 checks passed
@mescon mescon mentioned this pull request Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants