chore(nix): Libs for lan-mouse

This commit is contained in:
Ahmad Ansori Palembani 2024-11-04 15:51:52 +07:00
parent e874053b44
commit 551d141976
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 28 additions and 5 deletions

View file

@ -0,0 +1,10 @@
{ 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"
''