Skip to content

fix: use stdenv.hostPlatform.isDarwin instead of deprecated stdenv.isDarwin - #763

Merged
srid merged 1 commit into
juspay:mainfrom
nicolasauler:fix/stdenv-hostplatform-isdarwin
Nov 4, 2026
Merged

srid merged 1 commit into
juspay:mainfrom
nicolasauler:fix/stdenv-hostplatform-isdarwin

Conversation

@nicolasauler

@nicolasauler nicolasauler commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

nixpkgs deprecated the stdenv.is* aliases in NixOS/nixpkgs#518407, so on a current nixpkgs every evaluation of the grafana, tempo or pgadmin service prints stdenv.isDarwin is deprecated, use stdenv.hostPlatform.isDarwin instead. The value is the same, so no derivation changes. CI doesn't show the warning because test/flake.lock pins a nixpkgs from before the deprecation.

….isDarwin`

nixpkgs deprecated the `stdenv.is*` aliases in
NixOS/nixpkgs#518407, so on a current nixpkgs every
evaluation of the grafana, tempo or pgadmin service prints `stdenv.isDarwin is
deprecated, use stdenv.hostPlatform.isDarwin instead`. The value is the same, so no
derivation changes.
@nicolasauler
nicolasauler force-pushed the fix/stdenv-hostplatform-isdarwin branch from c447c81 to 5f05ba5 Compare November 3, 2026 16:56
@nicolasauler nicolasauler changed the title fix: use stdenv.hostPlatform.isDarwin instead of the deprecated stdenv.isDarwin fix: use stdenv.hostPlatform.isDarwin instead of deprecated stdenv.isDarwin Nov 3, 2026
@srid
srid merged commit 732b486 into juspay:main Nov 4, 2026
16 checks passed
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