From 48384b974484ef14ee65c202423810b871cacd42 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Fri, 5 May 2023 23:37:48 -0400 Subject: [PATCH] klipper-firmware: only install relevant files There's no reason for us to install everything in `out/` when all that is really used are the firmware binary (`klipper.{bin,elf}`) and the config file --- pkgs/servers/klipper/klipper-firmware.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/klipper/klipper-firmware.nix b/pkgs/servers/klipper/klipper-firmware.nix index fba5331d5b83..2f40c6fd86a4 100644 --- a/pkgs/servers/klipper/klipper-firmware.nix +++ b/pkgs/servers/klipper/klipper-firmware.nix @@ -46,7 +46,8 @@ installPhase = '' mkdir -p $out cp ./.config $out/config - cp -r out/* $out + cp out/klipper.bin $out/ || true + cp out/klipper.elf $out/ || true ''; dontFixup = true;