tvl-depot/users/wpcarro/Makefile
William Carroll ce87105c6d refactor(wpcarro/configs): Nixify configs/{install,uninstall}
After receiving another computer from Google and attempting to "easily"
install my configuration, I realized that I had some holes. In reality
these could (and perhaps should) be easily tested using CI that attempts
to cleanly install my configuration on various platfoms (e.g. Debian,
NixOS), but I'm not interested in supporting something like that (at
least not at the moment).

For now, it suffices to nixify some of the lingering shell scripts with
implicit dependencies on tools like `stow`.

> Don't let perfect be the enemy of good?

Change-Id: Ifdeac2c855e46973e3a4ea416418109a748eb41d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4790
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 04:28:35 +00:00

17 lines
343 B
Makefile

install-cli-tools:
nix-env -f "${BRIEFCASE}" -iA shared.cliTools
install-configs:
nix-build -A configs.install && \
./result && \
rm ./result
uninstall-configs:
nix-build -A configs.uninstall && \
./result && \
rm ./result
list-broken-links:
nix-build -A tools.symlinkManager && \
./result/bin/symlink-mgr -audit && \
rm ./result