mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
exfat-nofuse: exclude 4.1 kernel build
This commit is contained in:
parent
e0b04b4c37
commit
b4ff1ba4a9
@ -1,8 +1,11 @@
|
|||||||
{ stdenv, fetchFromGitHub, kernel }:
|
{ stdenv, lib, fetchFromGitHub, kernel }:
|
||||||
|
|
||||||
# Upstream build for kernel > 4.10 is currently broken
|
# Upstream build for kernel > 4.10 is currently broken
|
||||||
# Reference: https://github.com/dorimanx/exfat-nofuse/issues/103
|
# Reference: https://github.com/dorimanx/exfat-nofuse/issues/103
|
||||||
assert stdenv.lib.versionOlder kernel.version "4.10";
|
assert lib.versionOlder kernel.version "4.10";
|
||||||
|
|
||||||
|
# Upstream build for kernel 4.1 is broken, 3.12 and below seems to be working
|
||||||
|
assert lib.versionAtLeast kernel.version "4.2" || lib.versionOlder kernel.version "4.0";
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "exfat-nofuse-${version}-${kernel.version}";
|
name = "exfat-nofuse-${version}-${kernel.version}";
|
||||||
@ -28,8 +31,8 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "exfat kernel module";
|
description = "exfat kernel module";
|
||||||
homepage = https://github.com/dorimanx/exfat-nofuse;
|
homepage = https://github.com/dorimanx/exfat-nofuse;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
maintainers = with stdenv.lib.maintainers; [ makefu ];
|
maintainers = with lib.maintainers; [ makefu ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user