mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
giter8: limit platforms to those the jre supports
meta.platforms was absent rather than wrong, and check-meta only applies the platform check when the attribute exists, so giter8 was offered on every system including those with no jre. Assisted-by: Claude Code (Claude Opus 5)
This commit is contained in:
@@ -67,5 +67,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
maintainers = [ lib.maintainers.agilesteel ];
|
||||
changelog = "https://github.com/foundweekends/giter8/releases/tag/v${version}";
|
||||
mainProgram = "g8";
|
||||
# a jar plus a launcher wrapper, so it runs wherever the jre does
|
||||
platforms = jre.meta.platforms;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user