Technically not a config but a compose file, so I think it's better to have outside of `.config` dir
10 lines
222 B
Nix
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"
|
|
''
|