mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
pokemon scripts now conforms to .nix-profile dirs
This commit is contained in:
parent
e4fa5991db
commit
cbe068f1dd
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue