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
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
})
];
sourceRoot = src.name;
setSourceRoot = ''
export sourceRoot=$(pwd)/${src.name}
'';
nativeBuildInputs = kernel.moduleBuildDependencies;
+3 -1
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 ];