Remove warning: evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system' #116

Closed
opened 2026-05-16 19:16:49 +00:00 by guettli · 1 comment
guettli commented 2026-05-16 19:16:49 +00:00 (Migrated from codeberg.org)

Remove/fix this warning

evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'

TODO: setting label Ready did not work...

Remove/fix this warning > evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system' TODO: setting label Ready did not work...
guettlibot commented 2026-05-16 19:43:18 +00:00 (Migrated from codeberg.org)

Fixed in ae3d849: replaced import nixpkgs { inherit system; } with nixpkgs.legacyPackages.${system}, the idiomatic flake pattern that avoids the deprecation warning.

Fixed in ae3d849: replaced `import nixpkgs { inherit system; }` with `nixpkgs.legacyPackages.${system}`, the idiomatic flake pattern that avoids the deprecation warning.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: guettli/sharedinbox#116