Skip to content

Commit a4b5a14

Browse files
Merge master into staging-next
2 parents 0a95fd2 + 7b1be1e commit a4b5a14

File tree

73 files changed

+3244
-2466
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+3244
-2466
lines changed

.github/workflows/check-by-name.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ name: Check pkgs/by-name
88
# see pkgs/test/nixpkgs-check-by-name/scripts/README.md
99
on:
1010
# Using pull_request_target instead of pull_request avoids having to approve first time contributors
11-
pull_request_target
11+
pull_request_target:
12+
# This workflow depends on the base branch of the PR,
13+
# but changing the base branch is not included in the default trigger events,
14+
# which would be `opened`, `synchronize` or `reopened`.
15+
# Instead it causes an `edited` event, so we need to add it explicitly here
16+
# While `edited` is also triggered when the PR title/body is changed,
17+
# this PR action is fairly quick, and PR's don't get edited that often,
18+
# so it shouldn't be a problem
19+
types: [opened, synchronize, reopened, edited]
1220

1321
permissions:
1422
# We need this permission to cancel the workflow run if there's a merge conflict

nixos/doc/manual/configuration/sshfs-file-systems.section.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ The file system can be configured in NixOS via the usual [fileSystems](#opt-file
3838
Here's a typical setup:
3939
```nix
4040
{
41-
system.fsPackages = [ pkgs.sshfs ];
42-
4341
fileSystems."/mnt/my-dir" = {
4442
device = "[email protected]:/my-dir/";
4543
fsType = "sshfs";

nixos/modules/module-list.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,6 +1519,7 @@
15191519
./tasks/filesystems/nfs.nix
15201520
./tasks/filesystems/ntfs.nix
15211521
./tasks/filesystems/reiserfs.nix
1522+
./tasks/filesystems/sshfs.nix
15221523
./tasks/filesystems/squashfs.nix
15231524
./tasks/filesystems/unionfs-fuse.nix
15241525
./tasks/filesystems/vboxsf.nix

nixos/modules/services/hardware/fwupd.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ let
1616
"fwupd/fwupd.conf" = {
1717
source = format.generate "fwupd.conf" {
1818
fwupd = cfg.daemonSettings;
19+
} // lib.optionalAttrs (lib.length (lib.attrNames cfg.uefiCapsuleSettings) != 0) {
1920
uefi_capsule = cfg.uefiCapsuleSettings;
2021
};
2122
# fwupd tries to chmod the file if it doesn't have the right permissions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{ config, lib, pkgs, ... }:
2+
3+
{
4+
config = lib.mkIf (lib.any (fs: fs == "sshfs" || fs == "fuse.sshfs") config.boot.supportedFilesystems) {
5+
system.fsPackages = [ pkgs.sshfs ];
6+
};
7+
}

pkgs/applications/misc/gpxsee/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ let
1818
in
1919
stdenv.mkDerivation (finalAttrs: {
2020
pname = "gpxsee";
21-
version = "13.14";
21+
version = "13.15";
2222

2323
src = fetchFromGitHub {
2424
owner = "tumic0";
2525
repo = "GPXSee";
2626
rev = finalAttrs.version;
27-
hash = "sha256-9Vq5CfZi58hqTKnIZSR5iQefXzNq0BErtZ8NoxLchxo=";
27+
hash = "sha256-+JxxJKHOCz1Ccii27II4L4owo/qvb7RQ6STqJ+PEEBA=";
2828
};
2929

3030
buildInputs = [

pkgs/applications/misc/iptsd/default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616

1717
stdenv.mkDerivation rec {
1818
pname = "iptsd";
19-
version = "1.4.0";
19+
version = "2";
2020

2121
src = fetchFromGitHub {
2222
owner = "linux-surface";
2323
repo = pname;
2424
rev = "v${version}";
25-
hash = "sha256-qBABt0qEePGrZH4khnikvStrSi/OVmP3yVMJZbEd36M=";
25+
hash = "sha256-zTXTyDgSa1akViDZlYLtJk1yCREGCSJKxzF+HZAWx0c=";
2626
};
2727

2828
nativeBuildInputs = [
@@ -68,6 +68,7 @@ stdenv.mkDerivation rec {
6868
description = "Userspace daemon for Intel Precise Touch & Stylus";
6969
homepage = "https://github.com/linux-surface/iptsd";
7070
license = licenses.gpl2Plus;
71+
mainProgram = "iptsd";
7172
maintainers = with maintainers; [ tomberek dotlambda ];
7273
platforms = platforms.linux;
7374
};

pkgs/applications/misc/khal/default.nix

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,49 @@
66
, python3
77
}:
88

9-
python3.pkgs.buildPythonApplication rec {
9+
let
10+
py = python3.override {
11+
packageOverrides = self: super: {
12+
13+
# Doesn't work with latest urwid
14+
urwid = super.urwid.overridePythonAttrs (oldAttrs: rec {
15+
version = "2.1.2";
16+
src = fetchFromGitHub {
17+
owner = "urwid";
18+
repo = "urwid";
19+
rev = "refs/tags/${version}";
20+
hash = "sha256-oPb2h/+gaqkZTXIiESjExMfBNnOzDvoMkXvkZ/+KVwo=";
21+
};
22+
doCheck = false;
23+
});
24+
};
25+
};
26+
in
27+
with py.pkgs;
28+
29+
buildPythonApplication rec {
1030
pname = "khal";
1131
version = "0.11.2";
32+
pyproject = true;
1233

1334
src = fetchFromGitHub {
1435
owner = "pimutils";
15-
repo = pname;
16-
rev = "v${version}";
36+
repo = "khal";
37+
rev = "refs/tags/v${version}";
1738
hash = "sha256-yI33pB/t+UISvSbLUzmsZqBxLF6r8R3j9iPNeosKcYw=";
1839
};
1940

2041
nativeBuildInputs = [
2142
glibcLocales
2243
installShellFiles
2344
] ++ (with python3.pkgs; [
45+
setuptools
2446
setuptools-scm
2547
sphinx
2648
sphinxcontrib-newsfeed
2749
]);
2850

29-
propagatedBuildInputs = with python3.pkgs;[
51+
propagatedBuildInputs = with py.pkgs;[
3052
atomicwrites
3153
click
3254
click-log
@@ -82,6 +104,7 @@ python3.pkgs.buildPythonApplication rec {
82104
meta = with lib; {
83105
description = "CLI calendar application";
84106
homepage = "http://lostpackets.de/khal/";
107+
changelog = "https://github.com/pimutils/khal/releases/tag/v${version}";
85108
license = licenses.mit;
86109
maintainers = with maintainers; [ gebner ];
87110
};

pkgs/applications/misc/mysql-workbench/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ let
4848
in
4949
stdenv.mkDerivation (finalAttrs: {
5050
pname = "mysql-workbench";
51-
version = "8.0.34";
51+
version = "8.0.36";
5252

5353
src = fetchurl {
5454
url = "https://cdn.mysql.com/Downloads/MySQLGUITools/mysql-workbench-community-${finalAttrs.version}-src.tar.gz";
55-
hash = "sha256-ub/D6HRtXOvX+lai71t1UjMmMzBsz5ljCrJCuf9aq7U=";
55+
hash = "sha256-Y02KZrbCd3SRBYpgq6gYfpR+TEmg566D3zEvpwcUY3w=";
5656
};
5757

5858
patches = [

0 commit comments

Comments
 (0)