mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 04:56:14 +01:00
a1bd85b6b8
Signed-off-by: magic_rb <magic_rb@redalder.org>
18 lines
423 B
Nix
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";};
|
|
};
|
|
}
|