dotfiles/overlays/symlink-state/default.nix
magic_rb a1bd85b6b8
Always run symlink-state with bash
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-02-09 12:46:03 +01:00

18 lines
423 B
Nix

{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";};
};
}