Merge #251610: linuxPackages.{xpadneo, xone}: fix after simplifying sourceRoot

...into staging-next
This commit is contained in:
Vladimír Čunát 2023-08-26 16:59:35 +02:00
commit 8e5fd127ad
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
2 changed files with 6 additions and 2 deletions

View file

@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
})
];
sourceRoot = src.name;
setSourceRoot = ''
export sourceRoot=$(pwd)/${src.name}
'';
nativeBuildInputs = kernel.moduleBuildDependencies;

View file

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