pokemon scripts now conforms to .nix-profile dirs

This commit is contained in:
Emmet 2023-05-21 20:49:03 -05:00
parent e4fa5991db
commit cbe068f1dd

View file

@ -16,11 +16,11 @@ in
phases = "installPhase"; phases = "installPhase";
installPhase = '' installPhase = ''
mkdir -p $out $out/bin mkdir -p $out $out/bin $out/opt
cp -rf $src/colorscripts $out cp -rf $src/colorscripts $out/opt
cp $src/pokemon-colorscripts.py $out cp $src/pokemon-colorscripts.py $out/opt
cp $src/pokemon.json $out cp $src/pokemon.json $out/opt
ln -s $out/pokemon-colorscripts.py $out/bin/pokemon-colorscripts ln -s $out/opt/pokemon-colorscripts.py $out/bin/pokemon-colorscripts
''; '';
meta = { meta = {