linuxPackages.ipu6-drivers: Reuse ivsc-driver source
Now that the ivsc-driver is packaged as well, we can reuse the source files.
This commit is contained in:
parent
6b33857238
commit
b38d6054d7
1 changed files with 4 additions and 12 deletions
|
@ -1,18 +1,10 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, ivsc-driver
|
||||
, kernel
|
||||
}:
|
||||
|
||||
let
|
||||
ivsc-driver = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "ivsc-driver";
|
||||
rev = "94ecb88b3ac238d9145ac16230d6e0779bb4fd32";
|
||||
hash = "sha256-Q7iyKw4WFSX42E4AtoW/zYRKpknWZSU66V5VPAx6AjA=";
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ipu6-drivers";
|
||||
version = "unstable-2023-01-17";
|
||||
|
@ -26,9 +18,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
cp --no-preserve=mode --recursive --verbose \
|
||||
${ivsc-driver}/backport-include \
|
||||
${ivsc-driver}/drivers \
|
||||
${ivsc-driver}/include \
|
||||
${ivsc-driver.src}/backport-include \
|
||||
${ivsc-driver.src}/drivers \
|
||||
${ivsc-driver.src}/include \
|
||||
.
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue