From 5a0f953d9ffe5c40df263ccccffa647a86729f5a Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Thu, 10 Aug 2023 12:11:47 +0000 Subject: [PATCH] linuxPackages.xone: simplify sourceRoot --- pkgs/os-specific/linux/xone/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/xone/default.nix b/pkgs/os-specific/linux/xone/default.nix index da0ae54e560f..c46563a36c6f 100644 --- a/pkgs/os-specific/linux/xone/default.nix +++ b/pkgs/os-specific/linux/xone/default.nix @@ -20,9 +20,7 @@ stdenv.mkDerivation rec { }) ]; - setSourceRoot = '' - export sourceRoot=$(pwd)/source - ''; + sourceRoot = src.name; nativeBuildInputs = kernel.moduleBuildDependencies;