Merge staging-next-21.05 into staging-21.05
This commit is contained in:
commit
455ec36268
|
@ -844,6 +844,7 @@ let
|
||||||
PREEMPT_VOLUNTARY = yes;
|
PREEMPT_VOLUNTARY = yes;
|
||||||
|
|
||||||
X86_AMD_PLATFORM_DEVICE = yes;
|
X86_AMD_PLATFORM_DEVICE = yes;
|
||||||
|
X86_PLATFORM_DRIVERS_DELL = whenAtLeast "5.12" yes;
|
||||||
|
|
||||||
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
|
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
|
||||||
# Enable CPU/memory hotplug support
|
# Enable CPU/memory hotplug support
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ lib, fetchFromGitHub, buildLinux, linux_zen, ... } @ args:
|
{ lib, fetchFromGitHub, buildLinux, linux_zen, ... } @ args:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.12.9";
|
version = "5.12.14";
|
||||||
suffix = "lqx1";
|
suffix = "lqx2";
|
||||||
in
|
in
|
||||||
|
|
||||||
buildLinux (args // {
|
buildLinux (args // {
|
||||||
|
@ -14,7 +14,7 @@ buildLinux (args // {
|
||||||
owner = "zen-kernel";
|
owner = "zen-kernel";
|
||||||
repo = "zen-kernel";
|
repo = "zen-kernel";
|
||||||
rev = "v${version}-${suffix}";
|
rev = "v${version}-${suffix}";
|
||||||
sha256 = "sha256-qmX66nz+gVOt1RGsUT9fA3wPUT7I9Z4jhxpybP0I8Cw=";
|
sha256 = "sha256-pj5sSW4ggZEx2n7bVU2sfK3JOXG5n4Rsp3S66/+/wVU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraMeta = {
|
extraMeta = {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, fetchFromGitHub, buildLinux, ... } @ args:
|
{ lib, fetchFromGitHub, buildLinux, ... } @ args:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.12.9";
|
version = "5.12.14";
|
||||||
suffix = "zen1";
|
suffix = "zen1";
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ buildLinux (args // {
|
||||||
owner = "zen-kernel";
|
owner = "zen-kernel";
|
||||||
repo = "zen-kernel";
|
repo = "zen-kernel";
|
||||||
rev = "v${version}-${suffix}";
|
rev = "v${version}-${suffix}";
|
||||||
sha256 = "sha256-Sbe7pY/htLRRx5Qs78BpEzNCSIEsnZMj1+bkAftZdbQ=";
|
sha256 = "sha256-xmU2HNigSMb+xGkQ9XShBKfRxVHPHsz88JoTI2KsShQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraMeta = {
|
extraMeta = {
|
||||||
|
|
|
@ -95,10 +95,11 @@ stdenv.mkDerivation rec {
|
||||||
wrapProgram $out/bin/vncserver \
|
wrapProgram $out/bin/vncserver \
|
||||||
--prefix PATH : ${lib.makeBinPath (with xorg; [ xauth ])}
|
--prefix PATH : ${lib.makeBinPath (with xorg; [ xauth ])}
|
||||||
|
|
||||||
# The viewer is in Java and requires `JAVA_HOME`.
|
# The viewer is in Java and requires `JAVA_HOME` (which is a single
|
||||||
|
# path, cannot be multiple separated paths).
|
||||||
# For SSH support, `ssh` is required on `PATH`.
|
# For SSH support, `ssh` is required on `PATH`.
|
||||||
wrapProgram $out/bin/vncviewer \
|
wrapProgram $out/bin/vncviewer \
|
||||||
--prefix JAVA_HOME : "${lib.makeLibraryPath [ openjdk ]}/openjdk" \
|
--set JAVA_HOME "${lib.makeLibraryPath [ openjdk ]}/openjdk" \
|
||||||
--prefix PATH : ${lib.makeBinPath [ openssh ]}
|
--prefix PATH : ${lib.makeBinPath [ openssh ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
{ lib, stdenv, rustPlatform, fetchFromBitbucket, llvmPackages, Libsystem, SystemConfiguration, installShellFiles }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "bore";
|
||||||
|
version = "0.3.3";
|
||||||
|
|
||||||
|
src = fetchFromBitbucket {
|
||||||
|
owner = "delan";
|
||||||
|
repo = "nonymous";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0gws1f625izrb3armh6bay1k8l9p9csl37jx03yss1r720k4vn2x";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1n09gcp1y885lz6g2f73zw3fd0fmv7nwlvaqba2yl0kylzk7naa6";
|
||||||
|
cargoBuildFlags = "-p ${pname}";
|
||||||
|
|
||||||
|
# FIXME can’t test --all-targets and --doc in a single invocation
|
||||||
|
cargoTestFlags = "--features std --all-targets --workspace";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ]
|
||||||
|
++ lib.optional stdenv.isDarwin llvmPackages.libclang;
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
Libsystem
|
||||||
|
SystemConfiguration
|
||||||
|
];
|
||||||
|
|
||||||
|
LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage $src/bore/doc/bore.1
|
||||||
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
printf '\0\0\0\0\0\0\0\0\0\0\0\0' \
|
||||||
|
| $out/bin/bore --decode \
|
||||||
|
| grep -q ';; NoError #0 Query 0 0 0 0 flags'
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "DNS query tool";
|
||||||
|
homepage = "https://crates.io/crates/bore";
|
||||||
|
license = licenses.isc;
|
||||||
|
maintainers = [ maintainers.delan ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3705,6 +3705,11 @@ in
|
||||||
|
|
||||||
age = callPackage ../tools/security/age { };
|
age = callPackage ../tools/security/age { };
|
||||||
|
|
||||||
|
bore = callPackage ../tools/networking/bore {
|
||||||
|
inherit (darwin) Libsystem;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||||
|
};
|
||||||
|
|
||||||
brotli = callPackage ../tools/compression/brotli { };
|
brotli = callPackage ../tools/compression/brotli { };
|
||||||
|
|
||||||
biosdevname = callPackage ../tools/networking/biosdevname { };
|
biosdevname = callPackage ../tools/networking/biosdevname { };
|
||||||
|
|
Loading…
Reference in New Issue