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 Jul 9, 2023
2 parents c60d482 + 2b356da commit a61c7c5
Show file tree
Hide file tree
Showing 43 changed files with 460 additions and 103 deletions.
13 changes: 12 additions & 1 deletion maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11420,6 +11420,16 @@
githubId = 22817873;
name = "Ember Keske";
};
n3oney = {
name = "Michał Minarowski";
email = "nixpkgs@neoney.dev";
github = "n3oney";
githubId = 30625554;
matrix = "@neoney:matrix.org";
keys = [{
fingerprint = "9E6A 25F2 C1F2 9D76 ED00 1932 1261 173A 01E1 0298";
}];
};
nadrieril = {
email = "nadrieril@gmail.com";
github = "Nadrieril";
Expand Down Expand Up @@ -11995,9 +12005,10 @@
};
NotAShelf = {
name = "NotAShelf";
email = "itsashelf@gmail.com";
email = "raf@notashelf.dev";
github = "NotAShelf";
githubId = 62766066;
matrix = "@raf:notashelf.dev";
};
notbandali = {
name = "Amin Bandali";
Expand Down
5 changes: 3 additions & 2 deletions nixos/tests/maestral.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {

testScript = { nodes, ... }:
let
user = nodes.cli.config.users.users.alice;
user = nodes.cli.users.users.alice;
in
''
start_all()
Expand All @@ -65,7 +65,8 @@ import ./make-test-python.nix ({ pkgs, ... }: {
with subtest("GUI"):
gui.wait_for_x()
gui.succeed("xauth merge ${user.home}/.Xauthority")
gui.wait_for_file("/tmp/xauth_*")
gui.succeed("xauth merge /tmp/xauth_*")
gui.wait_for_window("^Desktop ")
gui.wait_for_unit("maestral.service", "${user.name}")
'';
Expand Down
9 changes: 3 additions & 6 deletions nixos/tests/plasma-bigscreen.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ import ./make-test-python.nix ({ pkgs, ...} :
users.users.alice.extraGroups = ["uinput"];
};

testScript = { nodes, ... }: let
user = nodes.machine.users.users.alice;
xdo = "${pkgs.xdotool}/bin/xdotool";
in ''
testScript = { nodes, ... }: ''
with subtest("Wait for login"):
start_all()
machine.wait_for_file("${user.home}/.Xauthority")
machine.succeed("xauth merge ${user.home}/.Xauthority")
machine.wait_for_file("/tmp/xauth_*")
machine.succeed("xauth merge /tmp/xauth_*")
with subtest("Check plasmashell started"):
machine.wait_until_succeeds("pgrep plasmashell")
Expand Down
8 changes: 3 additions & 5 deletions nixos/tests/plasma5-systemd-start.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ import ./make-test-python.nix ({ pkgs, ...} :
};
};

testScript = { nodes, ... }: let
user = nodes.machine.config.users.users.alice;
in ''
testScript = { nodes, ... }: ''
with subtest("Wait for login"):
start_all()
machine.wait_for_file("${user.home}/.Xauthority")
machine.succeed("xauth merge ${user.home}/.Xauthority")
machine.wait_for_file("/tmp/xauth_*")
machine.succeed("xauth merge /tmp/xauth_*")
with subtest("Check plasmashell started"):
machine.wait_until_succeeds("pgrep plasmashell")
Expand Down
14 changes: 7 additions & 7 deletions nixos/tests/plasma5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ import ./make-test-python.nix ({ pkgs, ...} :
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.displayManager.defaultSession = "plasma";
services.xserver.desktopManager.plasma5 = {
enable = true;
excludePackages = [ pkgs.plasma5Packages.elisa ];
};
services.xserver.desktopManager.plasma5.enable = true;
environment.plasma5.excludePackages = [ pkgs.plasma5Packages.elisa ];
services.xserver.displayManager.autoLogin = {
enable = true;
user = "alice";
Expand All @@ -25,13 +23,13 @@ import ./make-test-python.nix ({ pkgs, ...} :
};

testScript = { nodes, ... }: let
user = nodes.machine.config.users.users.alice;
user = nodes.machine.users.users.alice;
xdo = "${pkgs.xdotool}/bin/xdotool";
in ''
with subtest("Wait for login"):
start_all()
machine.wait_for_file("${user.home}/.Xauthority")
machine.succeed("xauth merge ${user.home}/.Xauthority")
machine.wait_for_file("/tmp/xauth_*")
machine.succeed("xauth merge /tmp/xauth_*")
with subtest("Check plasmashell started"):
machine.wait_until_succeeds("pgrep plasmashell")
Expand All @@ -46,6 +44,8 @@ import ./make-test-python.nix ({ pkgs, ...} :
with subtest("Ensure Elisa is not installed"):
machine.fail("which elisa")
machine.succeed("su - ${user.name} -c 'xauth merge /tmp/xauth_*'")
with subtest("Run Dolphin"):
machine.execute("su - ${user.name} -c 'DISPLAY=:0.0 dolphin >&2 &'")
machine.wait_for_window(" Dolphin")
Expand Down
4 changes: 2 additions & 2 deletions nixos/tests/retroarch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import ./make-test-python.nix ({ pkgs, ... }:
in ''
with subtest("Wait for login"):
start_all()
machine.wait_for_file("${user.home}/.Xauthority")
machine.succeed("xauth merge ${user.home}/.Xauthority")
machine.wait_for_file("/tmp/xauth_*")
machine.succeed("xauth merge /tmp/xauth_*")
with subtest("Check RetroArch started"):
machine.wait_until_succeeds("pgrep retroarch")
Expand Down
9 changes: 2 additions & 7 deletions pkgs/applications/backup/timeshift/unwrapped.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,26 @@

stdenv.mkDerivation rec {
pname = "timeshift";
version = "23.06.2";
version = "23.07.1";

src = fetchFromGitHub {
owner = "linuxmint";
repo = "timeshift";
rev = version;
sha256 = "epj0oaV+4lebRxcj6MQ2+lJ3juv9JZ+2UPLRc6UisX4=";
sha256 = "RnArZTzvH+mdT7zAHTRem8+Z8CFjWVvd3p/HwZC/v+U=";
};

patches = [
./timeshift-launcher.patch
];

postPatch = ''
substituteInPlace ./files/meson.build \
--replace "/etc/timeshift" "$out/etc/timeshift"
while IFS="" read -r -d $'\0' FILE; do
substituteInPlace "$FILE" \
--replace "/sbin/blkid" "${util-linux}/bin/blkid"
done < <(find ./src -mindepth 1 -name "*.vala" -type f -print0)
substituteInPlace ./src/Utility/IconManager.vala \
--replace "/usr/share" "$out/share"
substituteInPlace ./src/Core/Main.vala \
--replace "/etc/timeshift/default.json" "$out/etc/timeshift/default.json" \
--replace "file_copy(app_conf_path_default, app_conf_path);" "if (!dir_exists(file_parent(app_conf_path))){dir_create(file_parent(app_conf_path));};file_copy(app_conf_path_default, app_conf_path);"
'';

nativeBuildInputs = [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/browsers/palemoon/bin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@

stdenv.mkDerivation rec {
pname = "palemoon-bin";
version = "32.2.0";
version = "32.2.1";

src = fetchzip {
urls = [
"https://rm-eu.palemoon.org/release/palemoon-${version}.linux-x86_64-gtk${if withGTK3 then "3" else "2"}.tar.xz"
"https://rm-us.palemoon.org/release/palemoon-${version}.linux-x86_64-gtk${if withGTK3 then "3" else "2"}.tar.xz"
];
hash = if withGTK3 then
"sha256-Bw8L5+3f46lOGJ5xR3bBF7sQWwEFxoK/NH3ngs1i4lU="
"sha256-brF9ACAG+JM7bk/JarB208f8ihI/1d90l+6e1pHmC20="
else
"sha256-eP7GIsWPFLYmBPUcMPn6vAlsFEAP3Oyy9mhj0oGeMT4=";
"sha256-205rhW89Jlk4ICraqndTbJ6/88+ZqhtDOIvhFTiEUz0=";
};

preferLocalBuild = true;
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/cluster/k8sgpt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "k8sgpt";
version = "0.3.8";
version = "0.3.9";

src = fetchFromGitHub {
owner = "k8sgpt-ai";
repo = "k8sgpt";
rev = "v${version}";
hash = "sha256-61u6iGz1cloIKJ2UyyQGPOZJvnAax05sI4XA9NCpJso=";
hash = "sha256-nTGAYsw4R4ANAV8V3QdNpwXKWxdcAfXfUOUJJTkBD4k=";
};

vendorHash = "sha256-vmTfiUuuHHRzCwgWWzE80bq3VceRSHqpEYV7Zo7SJAI=";
vendorHash = "sha256-XHhk9JG9U4bz67pcNohAZJULIjmSPYBybYi3z6aPwi4=";

CGO_ENABLED = 0;

Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/cluster/kube-score/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@

buildGoModule rec {
pname = "kube-score";
version = "1.16.1";
version = "1.17.0";

src = fetchFromGitHub {
owner = "zegl";
repo = pname;
rev = "v${version}";
hash = "sha256-/aCuPL0bzzoNczvSdLYS8obTu8bZzO5HhBmRZ3/ArAM=";
hash = "sha256-/4xnUb60ARGO6hM5PQ3ZkuwjEQUT4Xnj/InIsfw2bzI=";
};

vendorHash = "sha256-pcNdszOfsYKiASOUNKflbr89j/wb9ILQvjMJYsiGPWo=";
vendorHash = "sha256-UpuwkQHcNg3rohr+AdALakIdHroIySlTnXHgoUdY+EQ=";

meta = with lib; {
description = "Kubernetes object analysis with recommendations for improved reliability and security";
Expand Down
29 changes: 18 additions & 11 deletions pkgs/applications/science/math/sage/sage-src.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,32 +52,39 @@ stdenv.mkDerivation rec {
# should come from or be proposed to upstream. This list will probably never
# be empty since dependencies update all the time.
packageUpgradePatches = [
# https://github.com/sagemath/sage/pull/35584, positively reviewed
# https://github.com/sagemath/sage/pull/35584, landed in 10.1.beta1
(fetchpatch {
name = "networkx-3.1-upgrade.patch";
url = "https://github.com/sagemath/sage/compare/10.0.rc2..e599562cf5fdfb9799a5412fac40c2f8e9f97341.diff";
sha256 = "sha256-3A90kXqNR0c7+k8xrZXAt5wqWg/VFAPNhQujwTdOyhI=";
url = "https://github.com/sagemath/sage/commit/be0aab74fd7e399e146988ef27260d2837baebae.diff";
sha256 = "sha256-xBGrylNaiF7CpfmX9/4lTioP2LSYKoRCkKlKSGZuv9U=";
})

# https://github.com/sagemath/sage/pull/35612, positively reviewed
# https://github.com/sagemath/sage/pull/35612, landed in 10.1.beta1
(fetchpatch {
name = "linbox-1.7-upgrade.patch";
url = "https://github.com/sagemath/sage/compare/10.0.rc2..9c8796c7b677e3a056348e3510331ea8b8c3c42e.diff";
url = "https://github.com/sagemath/sage/commit/35cbd2f2a2c4c355455d39b1424f05ea0aa4349b.diff";
sha256 = "sha256-/TpvIQZUqmbUuz6wvp3ni9oRir5LBA2FKDJcmnHI1r4=";
})

# https://github.com/sagemath/sage/pull/35619
# https://github.com/sagemath/sage/pull/35619, landed in 10.1.beta1
(fetchpatch {
name = "maxima-5.46.0-upgrade.patch";
url = "https://github.com/sagemath/sage/compare/10.0.rc3..7e86af5dae8f89868b25a6f57189bb5ca618da89.diff";
sha256 = "sha256-pxSxdJ2lyHoMUIxhlIn1nTHaddRxGvvTj9IbwFCTBFU=";
url = "https://github.com/sagemath/sage/commit/4ddf9328e7598284d4bc03cd2ed890f0be6b6399.diff";
sha256 = "sha256-f6YaZiLSj+E0LJMsMZHDt6vecWffSAuUHYVkegBEhno=";
})

# https://github.com/sagemath/sage/pull/35635, positively reviewed
# https://github.com/sagemath/sage/pull/35635, landed in 10.1.beta1
(fetchpatch {
name = "sympy-1.12-upgrade.patch";
url = "https://github.com/sagemath/sage/compare/10.0.rc2..aa4193cdc8ec9fb7bd7c49696b7f914668f7913a.diff";
sha256 = "sha256-UAmYCxHvnE5p+H2DySNZTPFVm915jHtOEoG+tZz5n7I=";
url = "https://github.com/sagemath/sage/commit/1a73b3bbbfa0f4a297e05d49305070e1ed5ae598.diff";
sha256 = "sha256-k8Oam+EiRcfXC7qCdLacCx+7vpUAw2K1wsjKcQbeGb4=";
})

# https://github.com/sagemath/sage/pull/35825, landed in 10.1.beta6
(fetchpatch {
name = "singular-4.3.2p2-upgrade.patch";
url = "https://github.com/sagemath/sage/commit/1a1b49f814cdf4c4c8d0ac8930610f3fef6af5b0.diff";
sha256 = "sha256-GqMgoi0tsP7zcCcPumhdsbvhPB6fgw1ufx6gHlc6iSc=";
})
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/science/math/singular/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

stdenv.mkDerivation rec {
pname = "singular";
version = "4.3.2p1";
version = "4.3.2p2";

# since the tarball does not contain tests, we fetch from GitHub.
src = fetchFromGitHub {
Expand All @@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
# if a release is tagged (which sometimes does not happen), it will
# be in the format below.
rev = "Release-${lib.replaceStrings ["."] ["-"] version}";
sha256 = "sha256-fprlqJ/3vhnUBnopOhWi4TWMKjcJ4qDQGq8vaaGzy2E=";
sha256 = "sha256-dtZmN8xUCZ9eSgmtBxqfJeWsM4W5Baq7xWXuNAxNLjA=";

# the repository's .gitattributes file contains the lines "/Tst/
# export-ignore" and "/doc/ export-ignore" so some directories are
Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/cinnamon/cinnamon-translations/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

stdenv.mkDerivation rec {
pname = "cinnamon-translations";
version = "5.8.1";
version = "5.8.2";

src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-QwLb8dxyub3W5KlYP1HinC07bTJ6f+/t07k3OWX9Qlg=";
hash = "sha256-hFqCKzJogGka6vsIj8SCL9GMDsTQO50jwpYKr74V5Fo=";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/cinnamon/mint-l-icons/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

stdenvNoCC.mkDerivation rec {
pname = "mint-l-icons";
version = "1.6.4";
version = "1.6.5";

src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-C6BnBIOKeewsaQPPXWWo70eQpO1pJS0+xVQghPj/TTE=";
hash = "sha256-x6rM4e8o3uoMPE+0NpZ7BgUZOCkj0XZEtepeNXsmyfU=";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/cinnamon/mint-y-icons/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

stdenvNoCC.mkDerivation rec {
pname = "mint-y-icons";
version = "1.6.6";
version = "1.6.7";

src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-yLsFEd4QyeEBA4IrYiy0sgNv0kG9WxjFsJQteoJc+YM=";
hash = "sha256-wA+geSx1DpMIth1DWkbp6FtaOMg5wgdshQpeK86S3vs=";
};

propagatedBuildInputs = [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/compilers/cairo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

rustPlatform.buildRustPackage rec {
pname = "cairo";
version = "1.1.1";
version = "2.0.1";

src = fetchFromGitHub {
owner = "starkware-libs";
repo = "cairo";
rev = "v${version}";
hash = "sha256-hlFPYYZsifH6ZTEDC+f1dLbHEn/wg4T7RoiYoibskjs=";
hash = "sha256-bqLkCP1hzdOMrVyyyiOZYN0BKPe8OjKMfpFGCr1/anU=";
};

cargoHash = "sha256-WLNt8IZkdCcHFQwnTZlcEmYlyhOoIEk1/s+obXhj+Qo=";
cargoHash = "sha256-FzQkAlNKFFLK8XmLafm37MvLekGE24BoLliaDpc+44w=";

nativeCheckInputs = [
rustfmt
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/interpreters/luajit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ stdenv.mkDerivation rec {
"DEFAULT_CC=cc"
"CROSS=${stdenv.cc.targetPrefix}"
"HOST_CC=${buildStdenv.cc}/bin/cc"
] ++ lib.optional enableJITDebugModule "INSTALL_LJLIBD=$(INSTALL_LMOD)";
] ++ lib.optional enableJITDebugModule "INSTALL_LJLIBD=$(INSTALL_LMOD)"
++ lib.optional stdenv.hostPlatform.isStatic "BUILDMODE=static";
enableParallelBuilding = true;
env.NIX_CFLAGS_COMPILE = toString XCFLAGS;

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/x265/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
, custatsSupport ? false # Internal profiling of encoder work
, debugSupport ? false # Run-time sanity checks (debugging)
, ppaSupport ? false # PPA profiling instrumentation
, unittestsSupport ? (stdenv.is64bit && !(stdenv.isDarwin && stdenv.isAarch64)) # Unit tests - only testing x64 assembly
, unittestsSupport ? stdenv.isx86_64 # Unit tests - only testing x64 assembly
, vtuneSupport ? false # Vtune profiling instrumentation
, werrorSupport ? false # Warnings as errors
}:
Expand Down
Loading

0 comments on commit a61c7c5

Please sign in to comment.