Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
4a0f1f6
c-ares: fix IPv6 link-local DNS server support
reckenrode Nov 16, 2025
a7bdafe
nixosTestRunner: cache store path length to avoid useless calls
laurentS Sep 11, 2025
8a0fa8f
gst_all_1.gst-plugins-bad: Fix build on ppc64
OPNA2608 Nov 17, 2025
be36784
libimagequant: 4.4.0 -> 4.4.1
trofi Nov 18, 2025
6820e23
libdrm: 2.4.128 -> 2.4.129
trofi Nov 24, 2025
99a6973
eb-garamond: disable ttfautohint's GUI
bengsparks Nov 18, 2025
a0b56d1
eb-garamond: modernise
bengsparks Nov 18, 2025
a696d05
python313: 3.13.9 -> 3.13.10
mweinelt Dec 2, 2025
5b0ae94
python314: 3.14.0 -> 3.14.1
mweinelt Dec 3, 2025
3da9b78
cpython: fix gh-142218 on 3.13.10 and 3.14.1
mweinelt Dec 5, 2025
9bc8c09
cpython: fix gh-142214 on 3.14.1
mweinelt Dec 5, 2025
a530b8a
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 6, 2025
0c72fb5
Revert "libcosmicAppHook: use RUSTFLAGS instead of platform specific …
Pandapip1 Dec 5, 2025
538d91e
[Backport staging-25.11] Revert "libcosmicAppHook: use RUSTFLAGS inst…
Aleksanaa Dec 6, 2025
874aeb4
[Backport staging-25.11] python313: 3.13.9 -> 3.13.10; python314: 3.1…
mweinelt Dec 6, 2025
88f82ad
python313: 3.13.10 -> 3.13.11
mweinelt Dec 5, 2025
25d2c62
python314: 3.14.1 -> 3.14.2
mweinelt Dec 5, 2025
fab0107
Revert "cpython: fix gh-142218 on 3.13.10 and 3.14.1"
mweinelt Dec 5, 2025
04d1468
Revert "cpython: fix gh-142214 on 3.14.1"
mweinelt Dec 5, 2025
9ede562
[Backport staging-25.11] python313: 3.13.10 -> 3.13.11; python314: 3.…
mweinelt Dec 6, 2025
14301ec
[Backport staging-25.11] eb-garamond: disable ttfautohint's GUI (#468…
nixpkgs-ci[bot] Dec 6, 2025
5f75429
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 7, 2025
7dd8be5
libxslt: 1.1.43 -> 1.1.45
r-ryantm Dec 6, 2025
65445a8
sdl3: 3.2.26 -> 3.2.28
marcin-serwin Dec 3, 2025
fcf862f
sdl2-compat: 2.32.58 -> 2.32.60
marcin-serwin Dec 3, 2025
f7b9368
python3Packages.pygame-ce: remove no longer needed patches
marcin-serwin Dec 3, 2025
2a4cf21
[Backport staging-25.11] sdl3: 3.2.26 -> 3.2.28; sdl2-compat: 2.32.58…
K900 Dec 7, 2025
5d2978f
elfutils: patch for run-sysroot test
raboof Dec 5, 2025
e897cd1
[Backport staging-25.11] elfutils: patch for run-sysroot test (#468712)
raboof Dec 7, 2025
1a6c3f9
cups: 2.4.15 -> 2.4.16
mweinelt Dec 6, 2025
32987d0
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 8, 2025
a2fe4cc
libarchive: 3.8.2 -> 3.8.4
samueldr-at-cyberus Dec 5, 2025
8f34256
gcc15: fix build on aarch64-darwin
siraben Nov 14, 2025
38dcd83
[Backport staging-25.11] libarchive: 3.8.2 -> 3.8.4 (#468938)
philiptaron Dec 8, 2025
32a2d04
[Backport staging-25.11] libdrm: 2.4.128 -> 2.4.129 (#466981)
fabianhjr Dec 8, 2025
1547517
re2c: 4.3 -> 4.3.1
trofi Dec 1, 2025
96e4ed6
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 9, 2025
40bd4fd
llvmPackages_21: 21.1.2 -> 21.1.7
timothyklim Nov 8, 2025
799d4bc
imagemagick: 7.1.2-9 -> 7.1.2-10
dotlambda Dec 9, 2025
a908188
[Backport staging-25.11] imagemagick: 7.1.2-9 -> 7.1.2-10 (#469343)
dotlambda Dec 9, 2025
8dfb107
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 10, 2025
78bbf30
[Backport staging-25.11] libimagequant: 4.4.0 -> 4.4.1 (#465651)
fabianhjr Dec 10, 2025
c0b44aa
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 10, 2025
d7f1a2a
Merge branch 'staging-next-25.11' into staging-25.11
wolfgangwalther Dec 10, 2025
95f572c
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 11, 2025
ee4bd40
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 12, 2025
9b2c8bd
haskellPackages.http2-tls: fix eval
wolfgangwalther Dec 11, 2025
a0fbbaf
[Backport staging-25.11] haskellPackages.http2-tls: fix eval (#470134)
wolfgangwalther Dec 12, 2025
8f04906
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 13, 2025
4a7c34e
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 14, 2025
d0f16e1
glib: 2.86.2 → 2.86.3
bobby285271 Dec 13, 2025
887d6d5
[Backport staging-25.11] glib: 2.86.2 → 2.86.3 (#470585)
bobby285271 Dec 14, 2025
280547f
folly: inline patch due errors fetching from AUR
Dec 13, 2025
3233564
w3m: inline patch due to errors fetching from AUR
Dec 13, 2025
b7cdbc9
prmers: init at 4.15.35-alpha
dstremur Nov 23, 2025
9ea04ce
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 15, 2025
a33aa4e
[Backport staging-25.11] w3m: inline patch due to errors fetching fro…
Aleksanaa Dec 15, 2025
fd50a83
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 15, 2025
5f1358e
Revert "python313Packages.libxml2: force rebuild for code signing issue"
emilazy Dec 15, 2025
b908af6
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 16, 2025
9375371
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 16, 2025
03968b0
[Backport staging-25.11] folly: inline patch due to errors fetching f…
mdaniels5757 Dec 16, 2025
f71ea1e
[Backport staging-25.11] prmers: init at 4.15.35-alpha (#470814)
edwtjo Dec 16, 2025
7026d11
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 17, 2025
8dfda53
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 17, 2025
ff267db
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 18, 2025
108d0a2
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 18, 2025
88af484
python3Packages.filelock: 3.20.0 -> 3.20.1
kirillrdy Dec 17, 2025
65fb84b
python3Packages.urllib3: backport 2.6.0 security fixes
mweinelt Dec 18, 2025
2e7fbfd
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 19, 2025
ae731bf
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 19, 2025
d3e1989
c-ares: 1.34.5 -> 1.34.6
mweinelt Dec 9, 2025
11f28b1
jellyfin-media-player: rename to jellyfin-desktop
vikingnope Dec 14, 2025
7ca7f3e
[Backport staging-25.11] jellyfin-media-player: rename to jellyfin-de…
picnoir Dec 19, 2025
c07757e
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 20, 2025
6977413
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 20, 2025
6d36c44
apple-sdk: drop `FamilyDisplayName`
reckenrode Nov 27, 2025
ea3abee
[Backport staging-25.11] apple-sdk: drop `FamilyDisplayName` (#472778)
emilazy Dec 20, 2025
e02753c
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 21, 2025
a8a3b63
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 21, 2025
902ebf7
nixos/nix-daemon: remove obsolete compatibility code
alois31 Dec 8, 2025
8f144d1
nixos/lix: init
alois31 Dec 8, 2025
5a6288b
nixos/lix: prepare for socket activation changes
alois31 Dec 14, 2025
0ad3520
[Backport staging-25.11] nixos/lix: init (#472912)
K900 Dec 21, 2025
c6a2ae6
[Backport staging-25.11] c-ares: 1.34.5 -> 1.34.6 (#472260)
mweinelt Dec 21, 2025
bb2a8a6
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 22, 2025
0d1aac6
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 22, 2025
01e9ec9
libopenmpt: 0.8.3 -> 0.8.4
r-ryantm Dec 19, 2025
7f0e8ed
[Backport staging-25.11] libopenmpt: 0.8.3 -> 0.8.4 (#473193)
OPNA2608 Dec 22, 2025
22fb5a0
python3Packages.werkzeug: 3.1.3 -> 3.1.4
kirillrdy Dec 20, 2025
aca2a46
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 23, 2025
ffc60df
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 23, 2025
0a63d30
[Backport staging-25.11] python3Packages.werkzeug: 3.1.3 -> 3.1.4 (#4…
kirillrdy Dec 23, 2025
aed3f88
[Backport release-25.11] python3Packages.filelock: 3.20.0 -> 3.20.1 (…
kirillrdy Dec 23, 2025
bf4593a
cryptsetup: 2.8.1 -> 2.8.2
r-ryantm Dec 19, 2025
9332bcb
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 24, 2025
8b600fd
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 24, 2025
a98a77e
[Backport staging-25.11] cryptsetup: 2.8.1 -> 2.8.2 (#473690)
numinit Dec 24, 2025
f7f8963
cryptsetup: 2.8.2 -> 2.8.3
trofi Dec 24, 2025
c21bb2d
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 25, 2025
5d3fd78
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 25, 2025
32f5302
[Backport staging-25.11] cryptsetup: 2.8.2 -> 2.8.3 (#473916)
numinit Dec 25, 2025
bb8f1a4
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 26, 2025
b952ab2
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 26, 2025
4c25467
util-linux: 2.41.2 -> 2.41.3
numinit Dec 23, 2025
8f525a7
[Backport staging-25.11] nixosTestRunner: cache store path length to …
vcunat Dec 26, 2025
1eab314
[Backport staging-25.11] c-ares: fix IPv6 link-local DNS server suppo…
vcunat Dec 26, 2025
2bf423c
[Backport staging-25.11] gst_all_1.gst-plugins-bad: Fix build on ppc6…
vcunat Dec 26, 2025
5c6e195
[Backport staging-25.11] libxslt: 1.1.43 -> 1.1.45 (#468598)
vcunat Dec 26, 2025
a507b5a
[Backport staging-25.11] cups: 2.4.15 -> 2.4.16 (#468820)
vcunat Dec 26, 2025
204a8df
[Backport staging-25.11] gcc15: fix build on aarch64-darwin (#468926)
vcunat Dec 26, 2025
32207bd
Revert "python313Packages.libxml2: force rebuild for code signing iss…
vcunat Dec 26, 2025
83afa8e
[staging-25.11] python3Packages.urllib3: backport 2.6.0 security fixe…
vcunat Dec 26, 2025
159b776
[Backport staging-25.11] util-linux: 2.41.2 -> 2.41.3 (#474236)
vcunat Dec 26, 2025
7069ac4
[Backport staging-25.11] re2c: 4.3 -> 4.3.1 (#469078)
vcunat Dec 26, 2025
f6c30f5
[Backport staging-25.11] llvmPackages_21: 21.1.2 -> 21.1.7 (#469302)
vcunat Dec 26, 2025
7e72bdb
Merge branch 'staging-25.11' into staging-next-25.11
vcunat Dec 26, 2025
8a75399
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 27, 2025
0224b43
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 27, 2025
7225813
gnugrep: disable gnulib tests to fix Darwin cross
siraben Nov 17, 2025
c9259de
Merge branch 'staging-next-25.11' into staging-25.11
vcunat Dec 27, 2025
f19693c
diffutils: disable gnulib tests to fix Darwin cross
siraben Nov 17, 2025
847f6e9
Merge branch 'staging-next-25.11' into staging-25.11
vcunat Dec 27, 2025
49b9b1b
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 28, 2025
e39fe06
Merge staging-next-25.11 into staging-25.11
nixpkgs-ci[bot] Dec 28, 2025
fc4b78c
Revert "[Backport staging-25.11] c-ares: fix IPv6 link-local DNS serv…
mdaniels5757 Dec 28, 2025
9d051ea
Revert "[Backport staging-25.11] c-ares: fix IPv6 link-local DNS serv…
mdaniels5757 Dec 28, 2025
488bd0c
Merge branch 'staging-25.11' into staging-next-25.11
vcunat Dec 28, 2025
2c6209a
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 29, 2025
ecfa357
wolfssl: 5.8.2 -> 5.8.4
LeSuisse Dec 13, 2025
5059399
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 30, 2025
d7b9152
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 30, 2025
6822baf
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Dec 31, 2025
b70539b
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Jan 1, 2026
50aa448
python3Packages.uvloop: skip flakey test_cancel_post_init
Aleksanaa Dec 24, 2025
bc75773
python3.pkgs.beautifulsoup4: 4.13.4 -> 4.14.3
yuyuyureka Dec 16, 2025
a260939
python3.pkgs.beautifulsoup4: add patch for python 3.14.1
yuyuyureka Dec 16, 2025
3e0d89b
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Jan 2, 2026
7d93a5f
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Jan 3, 2026
9687ed8
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Jan 4, 2026
428539b
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Jan 5, 2026
1382beb
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Jan 6, 2026
95e92b1
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Jan 7, 2026
1551a60
man-db: disable checks on aarch64-darwin
vcunat Jan 7, 2026
a4ff1fd
python314Packages.twisted: fix tests, modernize
mweinelt Nov 14, 2025
2f0d231
python3Packages.twisted: fix python 3.14.2 compat
mweinelt Dec 18, 2025
9530546
python3Packages.twisted: fix build on darwin
Prince213 Jan 1, 2026
2fa8863
python3Package.django_4: disable on 3.13 and newer
mweinelt Dec 18, 2025
99db8c6
python313Packages.tabulate: skip broken test
K900 Dec 18, 2025
6e9f998
python313Packages.blessed:1.21.0 -> 1.25-unstable-2025-12-05
Aleksanaa Dec 24, 2025
7779e46
python3Packages.blessed: disable test_sixel on darwin
GaetanLepage Dec 30, 2025
7dc117a
Merge release-25.11 into staging-next-25.11
nixpkgs-ci[bot] Jan 8, 2026
2027d15
man: nixfmt fixup
vcunat Jan 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
./programs/less.nix
./programs/liboping.nix
./programs/light.nix
./programs/lix.nix
./programs/localsend.nix
./programs/mdevctl.nix
./programs/mepo.nix
Expand Down
128 changes: 128 additions & 0 deletions nixos/modules/programs/lix.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
config,
lib,
pkgs,
...
}:
let

cfg = config.nix;

nixPackage = cfg.package.out;

commonNixDaemonConfig = {
path = [
nixPackage
config.programs.ssh.package
];

environment =
cfg.envVars
// {
CURL_CA_BUNDLE = config.security.pki.caBundle;
}
// config.networking.proxy.envVars;

serviceConfig = {
CPUSchedulingPolicy = cfg.daemonCPUSchedPolicy;
IOSchedulingClass = cfg.daemonIOSchedClass;
IOSchedulingPriority = cfg.daemonIOSchedPriority;
};
};

makeNixBuildUser = nr: {
name = "nixbld${toString nr}";
value = {
description = "Lix build user ${toString nr}";
uid = builtins.add config.ids.uids.nixbld nr;
isSystemUser = true;
group = "nixbld";
extraGroups = [ "nixbld" ];
};
};

nixbldUsers = lib.listToAttrs (map makeNixBuildUser (lib.range 1 cfg.nrBuildUsers));

in

{
config = lib.mkIf (cfg.enable && nixPackage.pname == "lix") {
environment.systemPackages = [
nixPackage
pkgs.nix-info
]
++ lib.optional (config.programs.bash.completion.enable) pkgs.nix-bash-completions;

systemd.packages = [ nixPackage ];

systemd.tmpfiles.packages = [ nixPackage ];

systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];

systemd.services."nix-daemon@" = lib.mkMerge [
commonNixDaemonConfig
{
# Do not kill connections serving established connections on upgrade.
restartIfChanged = false;
}
];

systemd.services.nix-daemon = lib.mkMerge [
commonNixDaemonConfig
{
restartTriggers = [ config.environment.etc."nix/nix.conf".source ];

# `stopIfChanged = false` changes to switch behavior
# from stop -> update units -> start
# to update units -> restart
#
# The `stopIfChanged` setting therefore controls a trade-off between a
# more predictable lifecycle, which runs the correct "version" of
# the `ExecStop` line, and on the other hand the availability of
# sockets during the switch, as the effectiveness of the stop operation
# depends on the socket being stopped as well.
#
# As `nix-daemon.service` does not make use of `ExecStop`, we prefer
# to keep the socket up and available. This is important for machines
# that run Nix-based services, such as automated build, test, and deploy
# services, that expect the daemon socket to be available at all times.
#
# Notably, the Nix client does not retry on failure to connect to the
# daemon socket, and the in-process RemoteStore instance will disable
# itself. This makes retries infeasible even for services that are
# aware of the issue. Failure to connect can affect not only new client
# processes, but also new RemoteStore instances in existing processes,
# as well as existing RemoteStore instances that have not saturated
# their connection pool.
#
# Also note that `stopIfChanged = true` does not kill existing
# connection handling daemons, as one might wish to happen before a
# breaking Nix upgrade (which is rare). The daemon forks that handle
# the individual connections split off into their own sessions, causing
# them not to be stopped by systemd.
# If a Nix upgrade does require all existing daemon processes to stop,
# nix-daemon must do so on its own accord, and only when the new version
# starts and detects that Nix's persistent state needs an upgrade.
stopIfChanged = false;

}
];

# Set up the environment variables for running Nix.
environment.sessionVariables = cfg.envVars;

nix.nrBuildUsers = lib.mkDefault (
if cfg.settings.auto-allocate-uids or false then
0
else
lib.max 32 (if cfg.settings.max-jobs == "auto" then 0 else cfg.settings.max-jobs)
);

users.users = nixbldUsers;

services.displayManager.hiddenUsers = lib.attrNames nixbldUsers;

# Legacy configuration conversion.
nix.settings.sandbox-fallback = false;
};
}
31 changes: 4 additions & 27 deletions nixos/modules/services/system/nix-daemon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ let

nixPackage = cfg.package.out;

# nixVersion is an attribute which defines the implementation version.
# This is useful for Nix implementations which don't follow Nix's versioning.
isNixAtLeast = lib.versionAtLeast (nixPackage.nixVersion or (lib.getVersion nixPackage));

makeNixBuildUser = nr: {
name = "nixbld${toString nr}";
value = {
Expand Down Expand Up @@ -187,7 +183,7 @@ in

###### implementation

config = lib.mkIf cfg.enable {
config = lib.mkIf (cfg.enable && nixPackage.pname != "lix") {
environment.systemPackages = [
nixPackage
pkgs.nix-info
Expand All @@ -196,26 +192,15 @@ in

systemd.packages = [ nixPackage ];

systemd.tmpfiles = lib.mkMerge [
(lib.mkIf (isNixAtLeast "2.8") {
packages = [ nixPackage ];
})
(lib.mkIf (!isNixAtLeast "2.8") {
rules = [
"d /nix/var/nix/daemon-socket 0755 root root - -"
];
})
];
systemd.tmpfiles.packages = [ nixPackage ];

systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];

systemd.services.nix-daemon = {
path = [
nixPackage
pkgs.util-linux
config.programs.ssh.package
]
++ lib.optionals cfg.distributedBuilds [ pkgs.gzip ];
];

environment =
cfg.envVars
Expand All @@ -224,15 +209,10 @@ in
}
// config.networking.proxy.envVars;

unitConfig.RequiresMountsFor = "/nix/store";

serviceConfig = {
CPUSchedulingPolicy = cfg.daemonCPUSchedPolicy;
IOSchedulingClass = cfg.daemonIOSchedClass;
IOSchedulingPriority = cfg.daemonIOSchedPriority;
LimitNOFILE = 1048576;
Delegate = "yes";
DelegateSubgroup = "supervisor";
};

restartTriggers = [ config.environment.etc."nix/nix.conf".source ];
Expand Down Expand Up @@ -287,10 +267,7 @@ in
services.displayManager.hiddenUsers = lib.attrNames nixbldUsers;

# Legacy configuration conversion.
nix.settings = lib.mkMerge [
(lib.mkIf (isNixAtLeast "2.3pre") { sandbox-fallback = false; })
];

nix.settings.sandbox-fallback = false;
};

}
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/ImageMagick/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ in

stdenv.mkDerivation (finalAttrs: {
pname = "imagemagick";
version = "7.1.2-9";
version = "7.1.2-10";

src = fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick";
tag = finalAttrs.version;
hash = "sha256-bXVVnjJhtmcbczZI9rsy2JQ3p2oYX5g5vp3YdsQkdrE=";
hash = "sha256-96lhd0B4yV2s/zVazKrqAcDZvn+yIiXxp8fqyKSfxLc=";
};

outputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,64 +4,82 @@
stdenv,
cmake,
ninja,
python3,
wrapQtAppsHook,
qtbase,
qtdeclarative,
qtwebchannel,
qtwebengine,
mpv-unwrapped,
mpvqt,
libcec,
SDL2,
libXrandr,
cacert,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "jellyfin-media-player";
pname = "jellyfin-desktop";
version = "2.0.0";

src = fetchFromGitHub {
owner = "jellyfin";
repo = "jellyfin-media-player";
repo = "jellyfin-desktop";
rev = "v${version}";
hash = "sha256-tdjmOeuC3LFEIDSH8X9LG/myvE1FoxwR1zpDQRyaTkQ=";
hash = "sha256-ITlYOrMS6COx9kDRSBi4wM6mzL/Q2G5X9GbABwDIOe4=";
fetchSubmodules = true;
};
patches = [
./non-fatal-unique-app.patch
];

nativeBuildInputs = [
cmake
ninja
wrapQtAppsHook
];
]
++ lib.optional stdenv.hostPlatform.isDarwin python3;

buildInputs = [
qtbase
qtdeclarative
qtwebchannel
qtwebengine

mpvqt
mpv-unwrapped

# input sources
libcec
SDL2

# frame rate switching
libXrandr
];
cacert
]
++ lib.optional (!stdenv.hostPlatform.isDarwin) mpvqt;

cmakeFlags = [
"-DCHECK_FOR_UPDATES=OFF"
"-DUSE_STATIC_MPVQT=OFF"
# workaround for Qt cmake weirdness
"-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON"
]
++ lib.optional stdenv.hostPlatform.isDarwin "-DUSE_STATIC_MPVQT=ON"
++ lib.optional (!stdenv.hostPlatform.isDarwin) "-DUSE_STATIC_MPVQT=OFF";

qtWrapperArgs = [
"--set QT_STYLE_OVERRIDE Fusion"
"--set NIX_SSL_CERT_FILE ${cacert}/etc/ssl/certs/ca-bundle.crt"
];

postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p $out/bin $out/Applications
mv "$out/Jellyfin Media Player.app" $out/Applications
ln -s "$out/Applications/Jellyfin Media Player.app/Contents/MacOS/Jellyfin Media Player" $out/bin/jellyfinmediaplayer
mv "$out/Jellyfin Desktop.app" $out/Applications
ln -s "$out/Applications/Jellyfin Desktop.app/Contents/MacOS/Jellyfin Desktop" $out/bin/jellyfindesktop
'';

passthru.updateScript = nix-update-script { };

meta = {
homepage = "https://github.com/jellyfin/jellyfin-media-player";
homepage = "https://github.com/jellyfin/jellyfin-desktop";
description = "Jellyfin Desktop Client";
license = with lib.licenses; [
gpl2Only
Expand All @@ -78,6 +96,6 @@ stdenv.mkDerivation rec {
kranzes
paumr
];
mainProgram = "jellyfinmediaplayer";
mainProgram = "jellyfin-desktop";
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--- a/src/shared/UniqueApplication.h
+++ b/src/shared/UniqueApplication.h
@@ -6,6 +6,7 @@
#define KONVERGO_UNIQUEAPPLICATION_H

#include <QObject>
+#include <QDebug>
#include "Paths.h"
#include "LocalJsonServer.h"
#include "LocalJsonClient.h"
@@ -35,7 +36,7 @@
});

if (!m_server->listen())
- throw FatalException("Failed to listen to uniqueApp socket: " + m_server->errorString());
+ qWarning() << "Failed to listen to uniqueApp socket: " << m_server->errorString();
}

bool ensureUnique()
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/qemu/force-uid0-on-9p.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ index 45e9a1f9b0..494ee00c66 100644
+static int is_in_store_path(const char *path)
+{
+ static char *store_path = NULL;
+ int store_path_len = -1;
+ static ssize_t store_path_len = -1;
+
+ if (store_path_len == -1) {
+ if ((store_path = getenv("NIX_STORE")) != NULL)
Expand All @@ -19,7 +19,7 @@ index 45e9a1f9b0..494ee00c66 100644
+ }
+
+ if (store_path_len > 0)
+ return strncmp(path, store_path, strlen(store_path)) == 0;
+ return strncmp(path, store_path, store_path_len) == 0;
+ return 0;
+}
+
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/ap/apple-sdk/common/plists.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ let
STRIP_PNG_TEXT = "NO";
};
Description = if stdenvNoCC.hostPlatform.isMacOS then "macOS" else "iOS";
FamilyDisplayName = Description;
FamilyIdentifier = lib.toLower xcodePlatform;
FamilyName = Description;
Identifier = CFBundleIdentifier;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/cr/cryptsetup/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

stdenv.mkDerivation (finalAttrs: {
pname = "cryptsetup";
version = "2.8.1";
version = "2.8.3";

outputs = [
"bin"
Expand All @@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
url =
"mirror://kernel/linux/utils/cryptsetup/v${lib.versions.majorMinor finalAttrs.version}/"
+ "cryptsetup-${finalAttrs.version}.tar.xz";
hash = "sha256-LDN563ZZfcq1CRFEmwE+JpfEv/zHFtu/DZsOj7u0b7Q=";
hash = "sha256-SoojuLnRoyUEUuQKzq1EIaA+RaOJVK0FlWNPQmaqgA8=";
};

patches = [
Expand Down
Loading
Loading