From ae63fa90b9597c2f0918095b79a0408145370942 Mon Sep 17 00:00:00 2001 From: xinyangli Date: Fri, 5 Jan 2024 18:09:30 +0800 Subject: [PATCH] nvboard: fix include --- pkgs/nvboard/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/nvboard/default.nix b/pkgs/nvboard/default.nix index 26b0f38..beae79d 100644 --- a/pkgs/nvboard/default.nix +++ b/pkgs/nvboard/default.nix @@ -10,10 +10,10 @@ stdenv.mkDerivation rec { name = "nvboard"; version = "0.3"; src = fetchFromGitHub { - owner = "NJU-ProjectN"; + owner = "xinyangli"; repo = "nvboard"; - rev = "23e79f86a6f915592cdf0af1c045a6f96082823c"; - hash = "sha256-/sC2XD19MVgwKJH/rdCsfewR/Yf7cyd9okQV/AErP+k="; + rev = "1cf7dc440fb06f657efb7328385ae05922a3f3d8"; + hash = "sha256-4HacBJEplkPd6ajqvFhWhSJACPC0dMBOVj6Nx8Tm4us="; }; patches = [ ./fixpics.patch ]; @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { mkdir -p $out/share/nvboard/board cp ./build/nvboard.a $out/lib/libnvboard.a - cp ./include/* $out/include/ + cp ./include/nvboard.h $out/include/ cp ./pic/* $out/share/nvboard/pic cp ./board/* $out/share/nvboard/board