linuxPackages.xpadneo: simplify sourceRoot

This commit is contained in:
Jan Malakhovski 2023-08-10 12:09:17 +00:00
parent d098c821d6
commit 68be474e30

View File

@ -17,9 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-rT2Mq40fE055FemDG7PBjt+cxgIHJG9tTjtw2nW6B98=";
};
setSourceRoot = ''
export sourceRoot=$(pwd)/source/hid-xpadneo/src
'';
sourceRoot = "${finalAttrs.src.name}/hid-xpadneo/src";
nativeBuildInputs = kernel.moduleBuildDependencies;
buildInputs = [ bluez ];