From 1e29572c5770acad2a0448228220a3dfdaa1d850 Mon Sep 17 00:00:00 2001 From: "Travis A. Everett" Date: Fri, 8 Apr 2022 10:19:46 -0500 Subject: [PATCH] resholve: add release note for API reorg --- .../from_md/release-notes/rl-2205.section.xml | 27 +++++++++++++++++++ .../manual/release-notes/rl-2205.section.md | 5 ++++ 2 files changed, 32 insertions(+) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml index 4a2e58ff871d..10985e6e3f4f 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml @@ -1294,6 +1294,33 @@ example. + + + Existing resholve* functions have been + renamed and nested under pkgs.resholve. + Update uses to: + + + + + resholvePackage -> + resholve.mkDerivation + + + + + resholveScript -> + resholve.writeScript + + + + + resholveScriptBin -> + resholve.writeScriptBin + + + + pkgs.cosmopolitan no longer provides the diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md index 6a42cac87782..127d44443be0 100644 --- a/nixos/doc/manual/release-notes/rl-2205.section.md +++ b/nixos/doc/manual/release-notes/rl-2205.section.md @@ -456,6 +456,11 @@ In addition to numerous new and upgraded packages, this release has the followin See the `vscode` package for a more detailed example. +- Existing `resholve*` functions have been renamed and nested under `pkgs.resholve`. Update uses to: + - `resholvePackage` -> `resholve.mkDerivation` + - `resholveScript` -> `resholve.writeScript` + - `resholveScriptBin` -> `resholve.writeScriptBin` + - `pkgs.cosmopolitan` no longer provides the `cosmoc` command. It has been moved to `pkgs.cosmoc`.