From 827d439f0003b46df009650613baa2af258e4002 Mon Sep 17 00:00:00 2001 From: mirkobrombin Date: Tue, 6 Dec 2022 09:36:38 +0100 Subject: [PATCH] recipe: Fix nvidia drivers installation --- recipe.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipe.json b/recipe.json index c3538e7..ec73a83 100644 --- a/recipe.json +++ b/recipe.json @@ -111,7 +111,10 @@ { "if": "nvidia", "type": "command", - "commands": ["_ubuntu-drivers install --recommended"] + "commands": [ + "apt install -y linux-headers-$(uname -r)", + "ubuntu-drivers install --recommended" + ] } ] },