From 679b29d33d8fc2609cbc6789512075b9af918dd3 Mon Sep 17 00:00:00 2001 From: "Travis A. Everett" Date: Sat, 25 Sep 2021 13:37:47 -0500 Subject: resholve: 0.6.2 -> 0.6.3, fix readme --- pkgs/development/misc/resholve/README.md | 13 ++++++------- pkgs/development/misc/resholve/source.nix | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'pkgs/development/misc') diff --git a/pkgs/development/misc/resholve/README.md b/pkgs/development/misc/resholve/README.md index 829f3b8b55017..4ac91b00f140f 100644 --- a/pkgs/development/misc/resholve/README.md +++ b/pkgs/development/misc/resholve/README.md @@ -105,7 +105,7 @@ that the `resholve` CLI expects. Here's an overview: | inputs | list | packages to resolve executables from | | interpreter | string | 'none' or abspath for shebang | | prologue | file | text to insert before the first code-line | -| epilogue | file | text to isnert after the last code-line | +| epilogue | file | text to insert after the last code-line | | flags | list | strings to pass as flags | | fake | attrset | [directives](#controlling-resolution-with-directives) | | fix | attrset | [directives](#controlling-resolution-with-directives) | @@ -161,25 +161,24 @@ from the manpage, and the Nix equivalents: ```nix # --fake 'f:setUp;tearDown builtin:setopt source:/etc/bashrc' fake = { - # fake accepts the initial of valid identifier types as a CLI convienience. + # fake accepts the initial of valid identifier types as a CLI convenience. # Use full names in the Nix API. function = [ "setUp" "tearDown" ]; builtin = [ "setopt" ]; source = [ "/etc/bashrc" ]; }; -# --fix 'aliases xargs:ls $GIT:gix' +# --fix 'aliases $GIT:gix /bin/bash' fix = { # all single-word directives use `true` as value aliases = true; - xargs = [ "ls" ]; "$GIT" = [ "gix" ]; + "/bin/bash"; }; -# --keep 'which:git;ls .:$HOME $LS:exa /etc/bashrc ~/.bashrc' +# --keep 'source:$HOME /etc/bashrc ~/.bashrc' keep = { - which = [ "git" "ls" ]; - "." = [ "$HOME" ]; + source = [ "$HOME" ]; "$LS" = [ "exa" ]; "/etc/bashrc" = true; "~/.bashrc" = true; diff --git a/pkgs/development/misc/resholve/source.nix b/pkgs/development/misc/resholve/source.nix index 4c904f253079f..94ea89b7784d3 100644 --- a/pkgs/development/misc/resholve/source.nix +++ b/pkgs/development/misc/resholve/source.nix @@ -3,7 +3,7 @@ }: rec { - version = "0.6.2"; + version = "0.6.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-NRBk3TdgeoIiwkIOLBezcPROp9JOthdSqJTHx9GJCH4="; + hash = "sha256-gkF+l2RB7LPGE1AgiMm+LQSCiMKIntUjz0wcGXKpp4I="; }; } -- cgit 1.4.1