nix: meta: add changelog (#537561)
This commit is contained in:
@@ -191,6 +191,11 @@ let
|
||||
meta = prevAttrs.meta or { } // {
|
||||
homepage = prevAttrs.meta.homepage or "https://nixos.org/nix";
|
||||
donationPage = prevAttrs.meta.donationPage or "https://nixos.org/donate/";
|
||||
changelog =
|
||||
let
|
||||
ver = lib.versions.majorMinor finalAttrs.version;
|
||||
in
|
||||
prevAttrs.meta.changelog or "https://nix.dev/manual/nix/${ver}/release-notes/rl-${ver}.html";
|
||||
longDescription =
|
||||
prevAttrs.longDescription or ''
|
||||
Nix is a powerful package manager for mainly Linux and other Unix systems that
|
||||
|
||||
@@ -238,12 +238,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
meta = {
|
||||
mainProgram = "nix";
|
||||
description = "Nix package manager";
|
||||
longDescription = nix-cli.meta.longDescription;
|
||||
homepage = nix-cli.meta.homepage;
|
||||
donationPage = nix-cli.meta.donationPage;
|
||||
license = nix-cli.meta.license;
|
||||
inherit (nix-cli.meta)
|
||||
longDescription
|
||||
homepage
|
||||
donationPage
|
||||
license
|
||||
platforms
|
||||
changelog
|
||||
;
|
||||
|
||||
teams = teams;
|
||||
platforms = nix-cli.meta.platforms;
|
||||
|
||||
outputsToInstall = [
|
||||
"out"
|
||||
"man"
|
||||
|
||||
Reference in New Issue
Block a user