Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 3, 2024
2 parents 72e3303 + 63d3e6c commit 192fd67
Show file tree
Hide file tree
Showing 78 changed files with 4,758 additions and 682 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5028,6 +5028,12 @@
github = "definfo";
githubId = 66514911;
};
deftdawg = {
name = "DeftDawg";
github = "deftdawg";
email = "[email protected]";
githubId = 4991612;
};
deifactor = {
name = "Ash Zahlen";
email = "[email protected]";
Expand Down
4 changes: 4 additions & 0 deletions nixos/doc/manual/release-notes/rl-2411.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
[2.24](https://nix.dev/manual/nix/latest/release-notes/rl-2.24).
Notable changes include improvements to Git fetching, documentation comment support in `nix-repl> :doc`, as well as many quality of life improvements.

- This will be the last release of Nixpkgs to support versions of CUDA prior to CUDA 12.0.
These versions only work with old compiler versions that will be unsupported by the time of the Nixpkgs 25.05 release.
In future, users should expect CUDA versions to be dropped as the compiler versions they require leave upstream support windows.

- Convenience options for `amdgpu`, open source driver for Radeon cards, is now available under `hardware.amdgpu`.

- [AMDVLK](https://github.com/GPUOpen-Drivers/AMDVLK), AMD's open source Vulkan driver, is now available to be configured as `hardware.amdgpu.amdvlk` option.
Expand Down
40 changes: 25 additions & 15 deletions nixos/modules/config/terminfo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,35 @@

config = {

# This should not contain packages that are broken or can't build, since it
# will break this expression
#
# Currently broken packages:
# - contour
#
# can be generated with:
# lib.attrNames (lib.filterAttrs
# (_: drv: (builtins.tryEval (lib.isDerivation drv && drv ? terminfo)).value)
# pkgs)
environment.systemPackages = lib.mkIf config.environment.enableAllTerminfo (map (x: x.terminfo) (with pkgs.pkgsBuildBuild; [
alacritty
contour
foot
kitty
mtm
rio
rxvt-unicode-unwrapped
rxvt-unicode-unwrapped-emoji
st
termite
tmux
wezterm
yaft
]));
environment.systemPackages = lib.mkIf config.environment.enableAllTerminfo (
map (x: x.terminfo) (
with pkgs.pkgsBuildBuild;
[
alacritty
foot
kitty
mtm
rio
rxvt-unicode-unwrapped
rxvt-unicode-unwrapped-emoji
st
termite
tmux
wezterm
yaft
]
)
);

environment.pathsToLink = [
"/share/terminfo"
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/installer/cd-dvd/iso-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let
* to a menuentry for use in grub.
*
* * defaults: {name, image, params, initrd}
* * options: [ option... ]
* * options: [ option... ]
* * option: {name, params, class}
*/
menuBuilderGrub2 =
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/security/acme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ let
serviceConfig = commonServiceConfig // {
Group = data.group;

# Let's Encrypt Failed Validation Limit allows 5 retries per hour, per account, hostname and hour.
# Let's Encrypt Failed Validation Limit allows 5 retries per hour, per account, hostname and hour.
# This avoids eating them all up if something is misconfigured upon the first try.
RestartSec = 15 * 60;

Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/datadog-agent.nix
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ in {
path = [ ];
script = ''
export DD_API_KEY=$(head -n 1 ${cfg.apiKeyFile})
${datadogPkg}/bin/trace-agent -config /etc/datadog-agent/datadog.yaml
${datadogPkg}/bin/trace-agent --config /etc/datadog-agent/datadog.yaml
'';
});

Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/web-apps/nextcloud.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ in {
'';
serviceConfig.Type = "oneshot";
serviceConfig.User = "nextcloud";
# On Nextcloud ≥ 26, it is not necessary to patch the database files to prevent
# On Nextcloud ≥ 26, it is not necessary to patch the database files to prevent
# an automatic creation of the database user.
environment.NC_setup_create_db_user = lib.mkIf (nextcloudGreaterOrEqualThan "26") "false";
};
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/web-apps/pixelfed.nix
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ in {
# is unnecessary as it's part of the installPhase of pixelfed.
# Install Horizon
# FIXME: require write access to public/ — should be done as part of install — pixelfed-manage horizon:publish
# FIXME: require write access to public/ — should be done as part of install — pixelfed-manage horizon:publish
# Perform the first migration.
[[ ! -f ${cfg.dataDir}/.initial-migration ]] && pixelfed-manage migrate --force && touch ${cfg.dataDir}/.initial-migration
Expand Down
2 changes: 1 addition & 1 deletion nixos/tests/slurm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ in {
with subtest("run_distributed_command"):
# Run `hostname` on 3 nodes of the partition (so on all the 3 nodes).
# The output must contain the 3 different names
# The output must contain the 3 different names
submit.succeed("srun -N 3 hostname | sort | uniq | wc -l | xargs test 3 -eq")
with subtest("check_slurm_dbd"):
Expand Down
4 changes: 4 additions & 0 deletions nixos/tests/wstunnel.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{ lib, ... }:

let
certs = import ./common/acme/server/snakeoil-certs.nix;
domain = certs.domain;
Expand All @@ -6,6 +8,8 @@ in
{
name = "wstunnel";

meta.platforms = lib.platforms.linux;

nodes = {
server = {
virtualisation.vlans = [ 1 ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/file-managers/clifm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

stdenv.mkDerivation rec {
pname = "clifm";
version = "1.20";
version = "1.21";

src = fetchFromGitHub {
owner = "leo-arch";
repo = pname;
rev = "v${version}";
hash = "sha256-TKQxNl+RTPQAE7mMALugm3rg8mPZq3eD/uW23DLws8I=";
hash = "sha256-x7Mdt8XcTtqxaHo28jrpyYPHZ/X1g9h4aulrW3YIXGQ=";
};

buildInputs = [
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/terminal-emulators/contour/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,8 @@ stdenv.mkDerivation (final: {
maintainers = with maintainers; [ moni ];
platforms = platforms.unix;
mainProgram = "contour";
# This was caused by boxed-cpp 1.4.2 -> 1.4.3
# More details in issue #345752
broken = true;
};
})
4 changes: 2 additions & 2 deletions pkgs/applications/video/mpv/scripts/modernx-zydezu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
}:
buildLua (finalAttrs: {
pname = "modernx-zydezu";
version = "0.3.6.6";
version = "0.3.7";

scriptPath = "modernx.lua";
src = fetchFromGitHub {
owner = "zydezu";
repo = "ModernX";
rev = finalAttrs.version;
hash = "sha256-Jt3Y/4no3dUOopjvbS/dBGU0vw9Lq4o5inb4efuyYBM=";
hash = "sha256-slJYbhjNrzwq5rl83HV0Uy7BUK/bbltWSyH0198kSqw=";
};

postInstall = ''
Expand Down
51 changes: 51 additions & 0 deletions pkgs/by-name/al/almo/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
lib,
fetchFromGitHub,
stdenv,
gcc,
python312Packages,
}:
let
version = "0.9.5-alpha";
in
stdenv.mkDerivation {
pname = "almo";
inherit version;

src = fetchFromGitHub {
owner = "abap34";
repo = "almo";
rev = "refs/tags/v${version}";
sha256 = "sha256-Cz+XDJmdp+utzwm1c7ThTNS6kfNF6r4B16tnGQSCVMc=";
};

buildInputs = [
gcc
python312Packages.pybind11
];

makeFlags = [ "all" ];

# remove darwin-only linker flag on linux
postPatch = lib.optionalString (!stdenv.isDarwin) ''
substituteInPlace scripts/pybind.sh \
--replace-fail " -undefined dynamic_lookup" ""
'';

installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/lib
cp build/almo $out/bin
cp almo.so $out/lib
runHook postInstall
'';

meta = {
description = "ALMO is markdown parser and static site generator";
license = lib.licenses.mit;
platforms = lib.platforms.all;
homepage = "https://github.com/abap34/almo";
maintainers = with lib.maintainers; [ momeemt ];
mainProgram = "almo";
};
}
6 changes: 3 additions & 3 deletions pkgs/by-name/at/atlas/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

buildGoModule rec {
pname = "atlas";
version = "0.27.0";
version = "0.28.0";

src = fetchFromGitHub {
owner = "ariga";
repo = "atlas";
rev = "v${version}";
hash = "sha256-av2WKuEzDhjvqGHIAlNR/Tt8AhqkjLhgcZIpJEKgEVA=";
hash = "sha256-D6dHHTxD2eObmXwYntIOtcPsU1vP+K289n+XVoaGUVc=";
};

modRoot = "cmd/atlas";

proxyVendor = true;
vendorHash = "sha256-wu2WONeL5LNGjn/xaRDPtBBVcvLOxSeelj7a6xxMHTY=";
vendorHash = "sha256-SFG//hc5vLQXC3SeEn4YRcc82PItYZy+TNqzq19sRnI=";

nativeBuildInputs = [ installShellFiles ];

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, docbook_xml_dtd_45
, pkg-config
, wrapQtAppsHook
, boost
, clucene_core_2
, docbook_xsl_ns
, perlPackages
, qtbase
, qtsvg
, qttools
, sword
{
lib,
boost,
clucene_core_2,
cmake,
docbook_xml_dtd_45,
docbook_xsl_ns,
fetchFromGitHub,
perlPackages,
pkg-config,
qt5,
stdenv,
sword,
}:

let
inherit (qt5)
qtbase
qtsvg
qttools
wrapQtAppsHook
;
in
stdenv.mkDerivation (finalAttrs: {
pname = "bibletime";
version = "3.0.3";
Expand All @@ -31,12 +37,12 @@ stdenv.mkDerivation (finalAttrs: {
docbook_xml_dtd_45
pkg-config
wrapQtAppsHook
perlPackages.Po4a
];

buildInputs = [
boost
clucene_core_2
perlPackages.Po4a
qtbase
qtsvg
qttools
Expand All @@ -49,18 +55,20 @@ stdenv.mkDerivation (finalAttrs: {
'';

cmakeFlags = [
"-DBUILD_HOWTO_PDF=OFF"
"-DBUILD_HANDBOOK_PDF=OFF"
"-DBT_DOCBOOK_XSL_HTML_CHUNK_XSL=${docbook_xsl_ns}/share/xml/docbook-xsl-ns/html/chunk.xsl"
"-DBT_DOCBOOK_XSL_PDF_DOCBOOK_XSL=${docbook_xsl_ns}/share/xml/docbook-xsl-ns/html/chunk.xsl"
(lib.cmakeBool "BUILD_HOWTO_PDF" false)
(lib.cmakeBool "BUILD_HANDBOOK_PDF" false)
(lib.cmakeFeature "BT_DOCBOOK_XSL_HTML_CHUNK_XSL" "${docbook_xsl_ns}/share/xml/docbook-xsl-ns/html/chunk.xsl")
(lib.cmakeFeature "BT_DOCBOOK_XSL_PDF_DOCBOOK_XSL" "${docbook_xsl_ns}/share/xml/docbook-xsl-ns/html/chunk.xsl")
];

meta = with lib; {
strictDeps = true;

meta = {
homepage = "http://www.bibletime.info/";
description = "Powerful cross platform Bible study tool";
license = lib.licenses.gpl2Plus;
mainProgram = "bibletime";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
})
5 changes: 5 additions & 0 deletions pkgs/by-name/cf/cfn-nag/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gemspec
Loading

0 comments on commit 192fd67

Please sign in to comment.