mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
linuxPackages.{xpadneo, xone}: fix after simplifying sourceRoot
This partially reverts commits68be474e30
and5a0f953d9f
.
This commit is contained in:
parent
4cdbb53d13
commit
9d33433ed2
@ -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 New Issue
Block a user