dotfiles/overlays/symlink-state/default.nix

18 lines
423 B
Nix
Raw Normal View History

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