From 362b22325577969aa095f9ef331720343a7019b3 Mon Sep 17 00:00:00 2001 From: "Travis A. Everett" Date: Sun, 27 Nov 2022 23:33:36 -0600 Subject: [PATCH] resholve: 0.8.1 -> 0.8.3 --- pkgs/development/misc/resholve/README.md | 6 ++++-- pkgs/development/misc/resholve/source.nix | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/misc/resholve/README.md b/pkgs/development/misc/resholve/README.md index 28fbfbb707ef..c1e3b64afc8e 100644 --- a/pkgs/development/misc/resholve/README.md +++ b/pkgs/development/misc/resholve/README.md @@ -94,8 +94,9 @@ resholve.mkDerivation rec { ## Basic `resholve.writeScript` and `resholve.writeScriptBin` examples -Both of these functions have the same basic API. This example is a little -trivial for now. If you have a real usage that you find helpful, please PR it. +Both of these functions have the same basic API. The examples are a little +trivial, so I'll also link to some real-world examples: +- [shell.nix from abathur/tdverpy](https://github.com/abathur/tdverpy/blob/e1f956df3ed1c7097a5164e0c85b178772e277f5/shell.nix#L6-L13) ```nix resholvedScript = resholve.writeScript "name" { @@ -183,6 +184,7 @@ handle any potential problems it encounters with directives. There are currently scripts from using the latest current-system symlinks.) - resolve commands in a variable definition - resolve an absolute command path from inputs as if it were a bare reference + - force resholve to resolve known security wrappers 3. `keep` directives tell resholve not to raise an error (i.e., ignore) something it would usually object to. Common examples: - variables used as/within the first word of a command diff --git a/pkgs/development/misc/resholve/source.nix b/pkgs/development/misc/resholve/source.nix index fa3b9c80e31d..fc23352d5d67 100644 --- a/pkgs/development/misc/resholve/source.nix +++ b/pkgs/development/misc/resholve/source.nix @@ -3,7 +3,7 @@ }: rec { - version = "0.8.1"; + version = "0.8.3"; rSrc = # local build -> `make ci`; `make clean` to restore # return to remote source @@ -14,6 +14,6 @@ rec { owner = "abathur"; repo = "resholve"; rev = "v${version}"; - hash = "sha256-EVrv4Lj9GQa3g18BRQjC0wCxzsfsn4Ka1iq5Ouu1cII="; + hash = "sha256-HilYaHSMASYXNGoX9/QSP9mpspszksdUrxlkUB1yGHQ="; }; }