Merge pull request #203406 from abathur/resholve_0.8.2

resholve: 0.8.1 -> 0.8.3

Changed files
+6 -4
pkgs
development
misc
+4 -2
pkgs/development/misc/resholve/README.md
···
## 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.
```nix
resholvedScript = resholve.writeScript "name" {
···
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
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
···
## Basic `resholve.writeScript` and `resholve.writeScriptBin` examples
+
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" {
···
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
+2 -2
pkgs/development/misc/resholve/source.nix
···
}:
rec {
-
version = "0.8.1";
rSrc =
# local build -> `make ci`; `make clean` to restore
# return to remote source
···
owner = "abathur";
repo = "resholve";
rev = "v${version}";
-
hash = "sha256-EVrv4Lj9GQa3g18BRQjC0wCxzsfsn4Ka1iq5Ouu1cII=";
};
}
···
}:
rec {
+
version = "0.8.3";
rSrc =
# local build -> `make ci`; `make clean` to restore
# return to remote source
···
owner = "abathur";
repo = "resholve";
rev = "v${version}";
+
hash = "sha256-HilYaHSMASYXNGoX9/QSP9mpspszksdUrxlkUB1yGHQ=";
};
}