File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed
Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 3333 abort "Invalid kernel version: ${ kernelVersion } " ;
3434
3535 # Fetch the latest linux-surface patches
36- repos = pkgs . callPackage (
37- { fetchFromGitHub } :
38- {
39- linux-surface = fetchFromGitHub {
40- owner = "linux-surface" ;
41- repo = "linux-surface" ;
42- rev = "50d0ed6be462a5fdb643cfe8469bf69158afae42" ;
43- hash = "sha256-ozvYrZDiVtMkdCcVnNEdlF2Kdw4jivW0aMJrDynN3Hk=" ;
44- } ;
45- }
46- ) { } ;
36+ linux-surface = pkgs . fetchFromGitHub {
37+ owner = "linux-surface" ;
38+ repo = "linux-surface" ;
39+ rev = "50d0ed6be462a5fdb643cfe8469bf69158afae42" ;
40+ hash = "sha256-ozvYrZDiVtMkdCcVnNEdlF2Kdw4jivW0aMJrDynN3Hk=" ;
41+ } ;
4742
4843 # Fetch and build the kernel
49- inherit ( pkgs . callPackage ./kernel/linux-package.nix { inherit repos ; } )
44+ inherit ( pkgs . callPackage ./kernel/linux-package.nix { } )
5045 linuxPackage
5146 surfacePatches
5247 ;
5348 kernelPatches = surfacePatches {
5449 version = srcVersion ;
5550 patchFn = ./kernel/${ versions . majorMinor srcVersion } /patches.nix ;
56- patchSrc = ( repos . linux-surface + "/patches/${ versions . majorMinor srcVersion } " ) ;
51+ patchSrc = ( linux-surface + "/patches/${ versions . majorMinor srcVersion } " ) ;
5752 } ;
5853 kernelPackages = linuxPackage {
5954 inherit kernelPatches ;
Original file line number Diff line number Diff line change 44 fetchurl ,
55 buildLinux ,
66 linuxPackagesFor ,
7- repos ,
87} :
98
109let
7473{
7574 inherit
7675 linuxPackage
77- repos
7876 surfacePatches
7977 versionsOf
8078 isVersionOf
You can’t perform that action at this time.
0 commit comments