Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Dec 9, 2024
2 parents 70702be + fd6bc1b commit c0be1d1
Show file tree
Hide file tree
Showing 56 changed files with 670 additions and 431 deletions.
5 changes: 4 additions & 1 deletion maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17916,7 +17916,10 @@
github = "JarvisCraft";
githubId = 7693005;
name = "Petr Portnov";
keys = [ { fingerprint = "884B 08D2 8DFF 6209 1857 C1C7 7E8F C8F7 D1BB 84A3"; } ];
keys = [
{ fingerprint = "884B 08D2 8DFF 6209 1857 C1C7 7E8F C8F7 D1BB 84A3"; }
{ fingerprint = "AA96 35AA F392 52BF 0E60 825E 1192 2217 F828 8484"; }
];
};
progval = {
email = "[email protected]";
Expand Down
1 change: 0 additions & 1 deletion nixos/modules/services/networking/zapret.nix
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ in
);

meta.maintainers = with lib.maintainers; [
voronind
nishimara
];
}
3 changes: 1 addition & 2 deletions nixos/modules/services/web-servers/nginx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1305,8 +1305,7 @@ in
# System Call Filtering
SystemCallArchitectures = "native";
SystemCallFilter = [ "~@cpu-emulation @debug @keyring @mount @obsolete @privileged @setuid" ]
++ optional cfg.enableQuicBPF [ "bpf" ]
++ optionals ((cfg.package != pkgs.tengine) && (cfg.package != pkgs.openresty) && (!lib.any (mod: (mod.disableIPC or false)) cfg.package.modules)) [ "~@ipc" ];
++ optional cfg.enableQuicBPF [ "bpf" ];
};
};

Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/tasks/network-interfaces-scripted.nix
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ let
preStop = ''
state="/run/nixos/network/routes/${i.name}"
if [ -e "$state" ]; then
while read cidr; do
while read -r cidr; do
echo -n "deleting route $cidr... "
ip route del "$cidr" dev "${i.name}" >/dev/null 2>&1 && echo "done" || echo "failed"
done < "$state"
Expand All @@ -246,7 +246,7 @@ let
state="/run/nixos/network/addresses/${i.name}"
if [ -e "$state" ]; then
while read cidr; do
while read -r cidr; do
echo -n "deleting address $cidr... "
ip addr del "$cidr" dev "${i.name}" >/dev/null 2>&1 && echo "done" || echo "failed"
done < "$state"
Expand Down
11 changes: 4 additions & 7 deletions pkgs/applications/version-management/git-workspace/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,23 @@

rustPlatform.buildRustPackage rec {
pname = "git-workspace";
version = "1.7.0";
version = "1.8.0";

src = fetchFromGitHub {
owner = "orf";
repo = pname;
rev = "v${version}";
sha256 = "sha256-cAAEbeA7+lnFH5vr+cfOlkhRjZJnIWX7AoKnow68k3I=";
sha256 = "sha256-sS452PCX2G49Q5tnScG+ySkUAhFctGsGZrMvQXL7WkY=";
};

cargoHash = "sha256-xLsN9yiAo7HP2HpixZ5SUu0Wnv07nL9D8t+JPT6uKb0=";
cargoHash = "sha256-OrAZ4SGhqP+cGYB2gUIh6rON67hBRmgnq1nn9cEUAU0=";

nativeBuildInputs = [ pkg-config ];

buildInputs = [ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Security ];

passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = git-workspace; };
};
passthru.updateScript = nix-update-script { };

meta = with lib; {
description = "Sync personal and work git repositories from multiple providers";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/obs-studio/plugins/obs-3d-effect.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

stdenv.mkDerivation rec {
pname = "obs-3d-effect";
version = "0.1.1";
version = "0.1.2";

src = fetchFromGitHub {
owner = "exeldro";
repo = "obs-3d-effect";
rev = version;
sha256 = "sha256-eHX5GH7Jmx+Q8ji5Flwajk2Ak37aaVO4mnEHGICOicY=";
sha256 = "sha256-BJumEIxJTXZgPxXhxfT6zdZctCHFXb26EdnsYtA8ztE=";
};

nativeBuildInputs = [ cmake ];
Expand Down
36 changes: 36 additions & 0 deletions pkgs/by-name/ce/cedar/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
lib,
cedar,
testers,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:

rustPlatform.buildRustPackage rec {
pname = "cedar";
version = "4.2.2";

src = fetchFromGitHub {
owner = "cedar-policy";
repo = "cedar";
rev = "refs/tags/v${version}";
hash = "sha256-p8idQx3HGO/ikL0pDTPXx5+rD2sRpXANqs/g51BL554=";
};

cargoHash = "sha256-GuXifjQkH8jV9mT3UYU6rUZB1qO5Xl9tvYJW7MjcW0U=";

passthru = {
tests.version = testers.testVersion { package = cedar; };
updateScript = nix-update-script { };
};

meta = {
description = "Implementation of the Cedar Policy Language";
homepage = "https://github.com/cedar-policy/cedar";
changelog = "https://github.com/cedar-policy/cedar/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ meain ];
mainProgram = "cedar";
};
}
4 changes: 2 additions & 2 deletions pkgs/by-name/fl/fluent-bit/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "fluent-bit";
version = "3.1.10";
version = "3.2.2";

src = fetchFromGitHub {
owner = "fluent";
repo = "fluent-bit";
rev = "v${finalAttrs.version}";
hash = "sha256-/YKXWYaDqkJ8fWgcYktXWJPcjDJTupgRTSQVp0cWruY=";
hash = "sha256-BnrULjcWVBAOHfxlmd1RTQ8gfwlfZcwrUyLU27/9Z3M=";
};

# optional only to avoid linux rebuild
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/gd/gdbuspp/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

stdenv.mkDerivation rec {
pname = "gdbuspp";
version = "2";
version = "3";
src = fetchFromGitHub {
owner = "OpenVPN";
repo = "gdbuspp";
rev = "refs/tags/v${version}";
hash = "sha256-A0sl4zZa17zMec/jJASE8lDVNohzJzEGZbWjjsorB2Y=";
hash = "sha256-LwEUNBQ7BUyoTm8tBgE4hwL7AbimCY/grQus8lWSI/M=";
};

postPatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/go/go-blueprint/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

buildGoModule rec {
pname = "go-blueprint";
version = "0.8.2";
version = "0.10.1";

src = fetchFromGitHub {
owner = "Melkeydev";
repo = "go-blueprint";
rev = "v${version}";
hash = "sha256-4KEshM6y27CD+PiyYoz4IWKkfLWRXOTA7bMFfxVYfaI=";
hash = "sha256-wNS8Tv0LzAPK9F98Rm2fS+fOoZXiJYYq97wYy9KzQ0g=";
};

ldflags = [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/hy/hyprlauncher/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

rustPlatform.buildRustPackage rec {
pname = "hyprlauncher";
version = "0.2.7";
version = "0.2.8";

src = fetchFromGitHub {
owner = "hyprutils";
repo = "hyprlauncher";
rev = "refs/tags/v${version}";
hash = "sha256-yP3g/hWhQj0JwXNbZFMRJrg0a4upOUwDD0EkW1W8acE=";
hash = "sha256-+CFMGWK7W8BWIY2Xg4P7VLYQ7wQmmmjGSM5Rzq8yMSY=";
};

cargoHash = "sha256-ehFkZKiMtJyH0DVBzxI08uVlMACslnYfxZX5gQ7xbPU=";
cargoHash = "sha256-epvUpsWkkJqWuUjsbHQaHMcBkDc06ke56I/5/QEag/g=";

strictDeps = true;

Expand Down
8 changes: 4 additions & 4 deletions pkgs/by-name/ma/maa-assistant-arknights/pin.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"stable": {
"version": "5.9.0",
"hash": "sha256-i3jpLRidpkg6+LwNFTRKXJoiWOJdd1H41e1wIFAc7Bw="
"version": "5.10.2",
"hash": "sha256-Qyhl6uZy70208j07vaWdwN5GGmX66kkOpA3Ny48PdtI="
},
"beta": {
"version": "5.9.0",
"hash": "sha256-i3jpLRidpkg6+LwNFTRKXJoiWOJdd1H41e1wIFAc7Bw="
"version": "5.11.0-beta.1",
"hash": "sha256-qpzbnfAd7P4f2jFgnCx7gTmZXYUUGreEHRY3/HGbZco="
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, libxcb
, installShellFiles
, Security
, AppKit
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
libxcb,
installShellFiles,
}:
rustPlatform.buildRustPackage rec {
pname = "magic-wormhole-rs";
Expand All @@ -20,14 +19,10 @@ rustPlatform.buildRustPackage rec {

cargoHash = "sha256-+OcjILDwGg0eybzBgVIZeVelnQatPU6rgd/b6buvTRQ=";

buildInputs = [ libxcb ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security AppKit ];
buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ libxcb ];

nativeBuildInputs = [ installShellFiles ];

# all tests involve networking and are bound fail
doCheck = false;

postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd wormhole-rs \
--bash <($out/bin/wormhole-rs completion bash) \
Expand All @@ -40,7 +35,10 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/magic-wormhole/magic-wormhole.rs";
changelog = "https://github.com/magic-wormhole/magic-wormhole.rs/raw/${version}/changelog.md";
license = licenses.eupl12;
maintainers = with maintainers; [ zeri piegames ];
maintainers = with maintainers; [
zeri
piegames
];
mainProgram = "wormhole-rs";
};
}
6 changes: 3 additions & 3 deletions pkgs/by-name/mi/minio-client/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "minio-client";
version = "2024-10-02T08-27-28Z";
version = "2024-11-17T19-35-25Z";

src = fetchFromGitHub {
owner = "minio";
repo = "mc";
rev = "RELEASE.${version}";
sha256 = "sha256-o+VNWrGV8LvdDbPPiiXCaGgHRZprfL+HOaATfnzDIVg=";
sha256 = "sha256-T99mHRRy0+Zmk+dlJVGg2h7wFnXKz5Prj21PZrkVWpI=";
};

vendorHash = "sha256-MJsfYCd2VqvJDcWgiJZX1/jcbHQrFQ7TOkskDf0vuSw=";
vendorHash = "sha256-teG+GrzmUgJ6QhcxDSbWXP32hRuCgoCvH2BoNL8ddUc=";

subPackages = [ "." ];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ni/nixos-rebuild-ng/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ ruff format .
- [ ] Port `nixos-rebuild.passthru.tests`
- [ ] Change module system to allow easier opt-in, like
`system.switch.enableNg` for `switch-to-configuration-ng`
- [ ] Improve documentation
- [x] Improve documentation
- [x] `nixos-rebuild repl`
- [ ] Generate tab completion via [`shtab`](https://docs.iterative.ai/shtab/)
- [x] Generate tab completion via [`shtab`](https://docs.iterative.ai/shtab/)
- [x] Reduce build closure

## TODON'T
Expand Down
Loading

0 comments on commit c0be1d1

Please sign in to comment.