Merge master into staging-next
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchurl, kernel }:
|
||||
|
||||
let base = "batman-adv-2018.0"; in
|
||||
let base = "batman-adv-2018.1"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${base}-${kernel.version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.open-mesh.org/batman/releases/${base}/${base}.tar.gz";
|
||||
sha256 = "0v2pyy9lxyy71nr9600k9935qcpn2wpyl9fsf2a4m4d2x0wgh9j8";
|
||||
sha256 = "12q48dw02p3dswdlrklqd2jxw9n51z1vnnnzpf527jg5pf6v4rmq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
}:
|
||||
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
name = "bcc-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iovisor";
|
||||
repo = "bcc";
|
||||
rev = "v${version}";
|
||||
sha256 = "0bb3244xll5sqx0lvrchg71qy2zg0yj6r5h4v5fvrg1fjhaldys9";
|
||||
owner = "iovisor";
|
||||
repo = "bcc";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fk2kvbdvm87rkha2cigz2qhhlrni4g0dcnmiiyya79y85ahfvga";
|
||||
};
|
||||
|
||||
format = "other";
|
||||
@@ -23,12 +23,6 @@ python.pkgs.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
patches = [
|
||||
# fix build with llvm > 5.0.0 && < 6.0.0
|
||||
(fetchpatch {
|
||||
url = "https://github.com/iovisor/bcc/commit/bd7fa55bb39b8978dafd0b299e35616061e0a368.patch";
|
||||
sha256 = "1sgxhsq174iihyk1x08py73q8fh78d7y3c90k5nh8vcw2pf1xbnf";
|
||||
})
|
||||
|
||||
# This is needed until we fix
|
||||
# https://github.com/NixOS/nixpkgs/issues/40427
|
||||
./fix-deadlock-detector-import.patch
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, kernel }:
|
||||
|
||||
assert stdenv.lib.versionOlder kernel.version "4.13";
|
||||
assert stdenv.lib.versionOlder kernel.version "4.17";
|
||||
|
||||
let
|
||||
sourceAttrs = (import ./source.nix) { inherit fetchFromGitHub; };
|
||||
@@ -11,6 +11,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = sourceAttrs.src;
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
prePatch = ''
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ fetchFromGitHub }:
|
||||
|
||||
rec {
|
||||
version = "3.5.4";
|
||||
version = "3.5.7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "NICMx";
|
||||
repo = "Jool";
|
||||
rev = "v${version}";
|
||||
sha256 = "09b9zcxgmy59jb778lkdyslx777bpsl216kkivw0zwfwsgd4pyz5";
|
||||
sha256 = "1qxhrchhm4lbyxkp6wm47a85aa4d9wlyy3kdijl8rarngvh8j1yx";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, perl, kmod }:
|
||||
{ stdenv, fetchFromGitHub, perl, kmod, coreutils }:
|
||||
|
||||
# Requires the acpi_call kernel module in order to run.
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tpacpi-bat --replace modprobe ${kmod}/bin/modprobe
|
||||
substituteInPlace tpacpi-bat \
|
||||
--replace modprobe ${kmod}/bin/modprobe \
|
||||
--replace cat ${coreutils}/bin/cat
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user