Skip to content

Commit

Permalink
hack
Browse files Browse the repository at this point in the history
  • Loading branch information
dezgeg committed Nov 20, 2017
1 parent 54c281f commit 3c62787
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/os-specific/linux/kernel/linux-4.14.nix
@@ -1,4 +1,4 @@
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:

with stdenv.lib;

Expand All @@ -11,8 +11,10 @@ import ./generic.nix (args // rec {
# branchVersion needs to be x.y
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "19wn1wswvivhlxxixnqi962jamxy9wpw13g1gj2k18chgr3mj7gq";
src = fetchFromGitHub {
owner = "dezgeg";
repo = "linux";
rev = "8b722d4f1f615bc53a48d1e08fd2d1867005744c";
sha256 = "0alxzr7farb8z6y7z2y267qn4p60da8ssx576gdq4kdh3kidh07i";
};
} // (args.argsOverride or {}))

0 comments on commit 3c62787

Please sign in to comment.