linuxPackages.{xpadneo, xone}: fix after simplifying sourceRoot
This partially reverts commits68be474e30
and5a0f953d9f
.
This commit is contained in:
parent
4cdbb53d13
commit
9d33433ed2
2 changed files with 6 additions and 2 deletions
|
@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
sourceRoot = src.name;
|
||||
setSourceRoot = ''
|
||||
export sourceRoot=$(pwd)/${src.name}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
|
|
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue