dotfiles/nix/lib/darwin/libFixup.nix
Ahmad Ansori Palembani 93a26accd1
refactor: Move nix outside of .config dir
Technically not a config but a compose file, so I think it's better to
have outside of `.config` dir
2024-11-05 13:53:13 +07:00

10 lines
222 B
Nix

{ package, runCommandLocal, name }:
runCommandLocal "${name}-symlink" {}
''
dest="/usr/local/opt/${name}"
mkdir -p $dest
ln -sf "${package.out}/lib/" "$dest" && mkdir -p "$out" && touch "$out/${name}-done"
''