3
0
Fork 0
forked from mirrors/nixpkgs

klipper: Copy config examples and docs to output

They are used by Moonraker.
This commit is contained in:
Zhaofeng Li 2022-03-22 15:35:38 -07:00
parent 9bc841fec1
commit 315a3c69cd

View file

@ -36,6 +36,11 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib/klipper
cp -r ./* $out/lib/klipper
# Moonraker expects `config_examples` and `docs` to be available
# under `klipper_path`
cp -r $src/docs $out/lib/docs
cp -r $src/config $out/lib/config
chmod 755 $out/lib/klipper/klippy.py
runHook postInstall
'';