SenchoPens / base16.nix

Theme applications with your favourite base16 colorschemes in Nix
MIT License
188 stars 7 forks source link

`escapeShellArg` breaks using paths as `template` #7

Closed danth closed 1 year ago

danth commented 1 year ago

The following error message is written to file instead of the output.

Error: open /nix/store/syncbcpk5c9s0cl7cq203dhh2wab9kkz-source/stylix/palette.json.mustache: no such file or directory

It seems like running the path through escapeShellArg stops it being listed as an input to the derivation, so presumably the sandbox is hiding it. It definitely exists from my perspective.

The build succeeds when escapeShellArg is removed, however I can see why that might be necessary if the name contains spaces.

SenchoPens commented 1 year ago

Hi @danth, can you please try out the latest release?

danth commented 1 year ago

Seems to be working, thanks!