nh: meta rewrite (#466437)

This commit is contained in:
Gergő Gutyina
2025-12-09 09:27:38 +00:00
committed by GitHub
2 changed files with 18 additions and 1 deletions
+1
View File
@@ -57,6 +57,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
maintainers = with lib.maintainers; [
NotAShelf
viperML
midischwarz12
];
};
})
+17 -1
View File
@@ -13,7 +13,7 @@ let
in
symlinkJoin {
pname = "nh";
inherit (unwrapped) version meta;
inherit (unwrapped) version;
paths = [
unwrapped
@@ -27,4 +27,20 @@ symlinkJoin {
wrapProgram $out/bin/nh \
--prefix PATH : ${lib.makeBinPath runtimeDeps}
'';
meta = {
inherit (unwrapped.meta)
changelog
description
homepage
license
mainProgram
maintainers
;
# To prevent builds on hydra
hydraPlatforms = [ ];
# prefer wrapper over the package
priority = (unwrapped.meta.priority or lib.meta.defaultPriority) - 1;
};
}