mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 19:46:17 +01:00
4a11cdcc08
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
|
|
java
|
|
]);
|
|
};
|
|
})
|
|
// {meta.mainProgram = "symlink-state";};
|
|
};
|
|
}
|