about summary refs log tree commit diff
path: root/scripts/nix-install-package.in
diff options
context:
space:
mode:
authorAspen Smith <root@gws.fyi>2024-07-29T02·37-0400
committerclbot <clbot@tvl.fyi>2024-07-31T20·18+0000
commitbdf82698592acc3f27fa7a9aa612ea1ad7970437 (patch)
treee5aa03a29f5f6af4f9d616fa63cb70db6be11ce6 /scripts/nix-install-package.in
parent13720d90bf1ad63deefda3e9e5ca3c187267c989 (diff)
fix(tvix/glue): coerce path argument to builtins.path to a path HEAD r/8434 canon
The "path" key in the arguments to builtins.path supports any
path-coercible type (a string, a path...). Coerce it to a path in the
argument rather than just requiring it already be one and throwing an
error if it's not.

This is... annoying to test, since it requires a file with known
contents that's available in the build sandbox. But it works! Trust me!

Fixes: b/412
Change-Id: I3c8e339bf344a208d5ed5990193942651f318745
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12053
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: aspen <root@gws.fyi>
Diffstat (limited to 'scripts/nix-install-package.in')
0 files changed, 0 insertions, 0 deletions