{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 bash ]); }; }) // {meta.mainProgram = "symlink-state";}; }; }