Skip to content

Commit

Permalink
staging-next-24.11 iteration 2 - 2024-12-31 (#369690)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Jan 8, 2025
2 parents 6e85840 + f0f757c commit aedc34a
Show file tree
Hide file tree
Showing 142 changed files with 1,096 additions and 9,297 deletions.
2 changes: 1 addition & 1 deletion nixos/modules/config/nix-remote-build.nix
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ in
};
};

# distributedBuilds does *not* inhibit /etc/machines generation; caller may
# distributedBuilds does *not* inhibit /etc/nix/machines generation; caller may
# override that nix option.
config = mkIf cfg.enable {
assertions =
Expand Down
5 changes: 5 additions & 0 deletions nixos/tests/jenkins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ import ./make-test-python.nix ({ pkgs, ...} : {
users.users.jenkins.extraGroups = [ "users" ];

systemd.services.jenkins.serviceConfig.TimeoutStartSec = "6min";

# Increase disk space to prevent this issue:
#
# WARNING h.n.DiskSpaceMonitorDescriptor#markNodeOfflineOrOnline: Making Built-In Node offline temporarily due to the lack of disk space
virtualisation.diskSize = 2 * 1024;
};

slave =
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/mpg123/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ assert withConplay -> !libOnly;

stdenv.mkDerivation rec {
pname = "${lib.optionalString libOnly "lib"}mpg123";
version = "1.32.8";
version = "1.32.9";

src = fetchurl {
url = "mirror://sourceforge/mpg123/mpg123-${version}.tar.bz2";
hash = "sha256-/u4TdMeVQODkBd8LxF/eIK1nARQlw2GidZ4hRolKJ6c=";
hash = "sha256-A7YeQATpYLrPKs2toD7ZTTduaqsnpgFEe9SQjYQHspE=";
};

outputs = [
Expand Down
5 changes: 5 additions & 0 deletions pkgs/applications/editors/emacs/make-emacs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
Xaw3d,
acl,
alsa-lib,
apple-sdk,
autoreconfHook,
cairo,
dbus,
Expand Down Expand Up @@ -193,6 +194,10 @@ mkDerivation (finalAttrs: {
"${lib.getBin stdenv.cc.bintools}/bin"
"${lib.getBin stdenv.cc.bintools.bintools}/bin"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# The linker needs to know where to find libSystem on Darwin.
"${apple-sdk.sdkroot}/usr/lib"
]
)
)
);
Expand Down
12 changes: 12 additions & 0 deletions pkgs/applications/misc/prusa-slicer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,20 @@ stdenv.mkDerivation (finalAttrs: {
rev = "version_${finalAttrs.version}";
};

# required for GCC 14
# (not applicable to super-slicer fork)
postPatch = lib.optionalString (finalAttrs.pname == "prusa-slicer") ''
substituteInPlace src/libslic3r/Arrange/Core/DataStoreTraits.hpp \
--replace-fail \
"WritableDataStoreTraits<ArrItem>::template set" \
"WritableDataStoreTraits<ArrItem>::set"
'';

nativeBuildInputs = [
cmake
pkg-config
wrapGAppsHook3
wxGTK-override'
];

buildInputs = [
Expand Down Expand Up @@ -132,6 +142,8 @@ stdenv.mkDerivation (finalAttrs: {
darwin.apple_sdk_11_0.frameworks.CoreWLAN
];

strictDeps = true;

separateDebugInfo = true;

# The build system uses custom logic - defined in
Expand Down
19 changes: 0 additions & 19 deletions pkgs/applications/misc/prusa-slicer/meshboolean-const.patch

This file was deleted.

10 changes: 7 additions & 3 deletions pkgs/applications/misc/prusa-slicer/super-slicer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ let
];
hash = "sha256-v0q2MhySayij7+qBTE5q01IOq/DyUcWnjpbzB/AV34c=";
})
./meshboolean-const.patch
# Drop if this fix gets merged upstream
(fetchpatch {
url = "https://github.com/supermerill/SuperSlicer/commit/fa7c545efa5d1880cf24af32083094fc872d3692.patch";
Expand Down Expand Up @@ -69,15 +68,20 @@ let

# - wxScintilla is not used on macOS
# - Partially applied upstream changes cause a bug when trying to link against a nonexistent libexpat
prePatch =
super.prePatch
postPatch =
super.postPatch
+ ''
substituteInPlace src/CMakeLists.txt \
--replace "scintilla" "" \
--replace "list(APPEND wxWidgets_LIBRARIES libexpat)" "list(APPEND wxWidgets_LIBRARIES EXPAT::EXPAT)"
substituteInPlace src/libslic3r/CMakeLists.txt \
--replace "libexpat" "EXPAT::EXPAT"
# fixes GCC 14 error
substituteInPlace src/libslic3r/MeshBoolean.cpp \
--replace-fail 'auto &face' 'auto face' \
--replace-fail 'auto &vi' 'auto vi'
'';

# We don't need PS overrides anymore, and gcode-viewer is embedded in the binary.
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/version-management/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ assert sendEmailSupport -> perlSupport;
assert svnSupport -> perlSupport;

let
version = "2.47.0";
version = "2.47.1";
svn = subversionClient.override { perlBindings = perlSupport; };
gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ];
in
Expand All @@ -43,7 +43,7 @@ stdenv.mkDerivation (finalAttrs: {

src = fetchurl {
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
hash = "sha256-HOEU2ohwQnG0PgJ8UeBNk5n4yI6e91Qtrnrrrn2HvE4=";
hash = "sha256-89j5uyOuOSN06RzZ05WXDavFucXucvOYhGE82Epu0xA=";
};

outputs = [ "out" ] ++ lib.optional withManual "doc";
Expand Down
31 changes: 0 additions & 31 deletions pkgs/by-name/cu/curlMinimal/fix-netrc-regression-2.patch

This file was deleted.

Loading

0 comments on commit aedc34a

Please sign in to comment.