{inputs, ...}: { flake.overlays.symlink-state = final: prev: { symlink-state = (final.writeSubstitutedShellScriptBin { name = "symlink-state"; file = ./symlink-state; substitutes = { PATH = final.lib.makeBinPath (with final; [ coreutils findutils java ]); }; }) // {meta.mainProgram = "symlink-state";}; }; }