From 537c6af0bb12cefac56701196206bc484c361cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Sat, 30 Nov 2024 21:28:38 +0100 Subject: [PATCH] bottom: add gpu driver recognition --- pkgs/by-name/bo/bottom/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/bo/bottom/package.nix b/pkgs/by-name/bo/bottom/package.nix index 915f8f0d3465..48266986baaa 100644 --- a/pkgs/by-name/bo/bottom/package.nix +++ b/pkgs/by-name/bo/bottom/package.nix @@ -2,6 +2,7 @@ lib, rustPlatform, fetchFromGitHub, + autoAddDriverRunpath, installShellFiles, stdenv, apple-sdk_11, @@ -22,7 +23,10 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-FQbJx6ijX8kE4qxT7OQ7FwxLKJB5/moTKhBK0bfvBas="; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [ + autoAddDriverRunpath + installShellFiles + ]; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11