Skip to content

Commit

Permalink
Merge staging-next-24.11 into staging-24.11
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Dec 13, 2024
2 parents c9b9a50 + d496217 commit f1587e5
Show file tree
Hide file tree
Showing 31 changed files with 196 additions and 89 deletions.
2 changes: 1 addition & 1 deletion nixos/modules/security/rtkit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ with lib;
description = ''
Whether to enable the RealtimeKit system service, which hands
out realtime scheduling priority to user processes on
demand. For example, the PulseAudio server uses this to
demand. For example, PulseAudio and PipeWire use this to
acquire realtime priority.
'';
};
Expand Down
12 changes: 10 additions & 2 deletions nixos/modules/services/databases/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ By default, PostgreSQL stores its databases in {file}`/var/lib/postgresql/$psqlS

## Initializing {#module-services-postgres-initializing}

As of NixOS 23.11,
As of NixOS 24.05,
`services.postgresql.ensureUsers.*.ensurePermissions` has been
deprecated, after a change to default permissions in PostgreSQL 15
removed, after a change to default permissions in PostgreSQL 15
invalidated most of its previous use cases:

- In psql < 15, `ALL PRIVILEGES` used to include `CREATE TABLE`, where
Expand Down Expand Up @@ -375,6 +375,14 @@ several common hardening options from `systemd`, most notably:
* A stricter default UMask (`0027`).
* Only sockets of type `AF_INET`/`AF_INET6`/`AF_NETLINK`/`AF_UNIX` allowed.
* Restricted filesystem access (private `/tmp`, most of the file-system hierachy is mounted read-only, only process directories in `/proc` that are owned by the same user).
* When using [`TABLESPACE`](https://www.postgresql.org/docs/current/manage-ag-tablespaces.html)s, make sure to add the filesystem paths to `ReadWritePaths` like this:
```nix
{
systemd.services.postgresql.serviceConfig.ReadWritePaths = [
"/path/to/tablespace/location"
];
}
```
The NixOS module also contains necessary adjustments for extensions from `nixpkgs`
if these are enabled. If an extension or a postgresql feature from `nixpkgs` breaks
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/librenms.nix
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ in
systemd.services.librenms-setup = {
description = "Preparation tasks for LibreNMS";
before = [ "phpfpm-librenms.service" ];
after = [ "systemd-tmpfiles-setup.service" ]
after = [ "systemd-tmpfiles-setup.service" "network.target" ]
++ (lib.optional (cfg.database.host == "localhost") "mysql.service");
wantedBy = [ "multi-user.target" ];
restartTriggers = [ package configFile ];
Expand Down
9 changes: 8 additions & 1 deletion pkgs/applications/editors/jetbrains/plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,14 @@ in {
IFS=' ' read -ra pluginArray <<< "$newPlugins"
for plugin in "''${pluginArray[@]}"
do
ln -s "$plugin" -t "$out/${rootDir}/plugins/"
pluginfiles=$(ls $plugin);
if [ $(echo $pluginfiles | wc -l) -eq 1 ] && echo $pluginfiles | grep -E "\.jar" 1> /dev/null; then
# if the plugin contains a single jar file, link it directly into the plugins folder
ln -s "$plugin/$(echo $pluginfiles | head -1)" $out/${rootDir}/plugins/
else
# otherwise link the plugin directory itself
ln -s "$plugin" -t $out/${rootDir}/plugins/
fi
done
sed "s|${ide.outPath}|$out|" \
-i $(realpath $out/bin/${meta.mainProgram})
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/gallery-dl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

buildPythonApplication rec {
pname = "gallery-dl";
version = "1.27.7";
version = "1.28.1";
format = "setuptools";

src = fetchPypi {
inherit version;
pname = "gallery_dl";
hash = "sha256-9YcxD7AH4U2dOhAiUnknwwGFy9pplFFQ7Rn4cOvDdEc=";
hash = "sha256-1UxLZZoDJsaiPqb+zaiWb9TyQIknKlrz6RN21B0sNe4=";
};

propagatedBuildInputs = [
Expand Down
36 changes: 18 additions & 18 deletions pkgs/applications/networking/browsers/chromium/info.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"chromium": {
"version": "131.0.6778.108",
"version": "131.0.6778.139",
"chromedriver": {
"hash_darwin": "sha256-X0kzihCQsICn5SRdU+THdthov0EPxsmMcrm6YJ6hMhs=",
"hash_darwin_aarch64": "sha256-3Qdj44cZD4wQTzkBx47ZCfqHE2HckkLuqYKpJxxfESk="
"hash_darwin": "sha256-QLYUD5SDHoPdiPHX46ps/oBhzDjwxBuQEh0hzbEY73Q=",
"hash_darwin_aarch64": "sha256-VZ4nS9H1J1R6OXqqOaFLHM2rD8dyUTTWur5X1CNm4sU="
},
"deps": {
"depot_tools": {
Expand All @@ -19,8 +19,8 @@
"DEPS": {
"src": {
"url": "https://chromium.googlesource.com/chromium/src.git",
"rev": "3b014839fbc4fb688b2f5af512d6ce312ad208b1",
"hash": "sha256-ypzu3LveMFcOFm7+JlaERjzs3SK/n9+sfm5wOKB8/zw=",
"rev": "c35bbcbd7c2775a12a3f320e05ac0022939b1a8a",
"hash": "sha256-oJ4y9W51RMiUk40Uz8b3LJH0kMD5GMDG2V//Tng4/4A=",
"recompress": true
},
"src/third_party/clang-format/script": {
Expand Down Expand Up @@ -360,8 +360,8 @@
},
"src/third_party/icu": {
"url": "https://chromium.googlesource.com/chromium/deps/icu.git",
"rev": "4239b1559d11d4fa66c100543eda4161e060311e",
"hash": "sha256-7568UHNDOzyTCLy3TAwxZLUrKfB6A1yKA0wVZQJjKoI="
"rev": "ba7ed88cc5ffa428a82a0f787dd61031aa5ef4ca",
"hash": "sha256-WtCoxcbEkkZayB6kXdQEhZ7/ue+ka6cguhFbpeWUBJA="
},
"src/third_party/jsoncpp/source": {
"url": "https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git",
Expand Down Expand Up @@ -760,13 +760,13 @@
},
"src/v8": {
"url": "https://chromium.googlesource.com/v8/v8.git",
"rev": "e38771cb283b9689683c5ac0b5831dd89f8ec690",
"hash": "sha256-csSDnepYxil0R3PD/LVxW7JBcasOKG4l6q6vj8zHV/I="
"rev": "b97fcc24b3523da5e389d2a6d76857f134be09c5",
"hash": "sha256-5Es9Zot/DH+UKq3+aCgeQC+Llgj7/lmPXUYvar/hX7I="
}
}
},
"ungoogled-chromium": {
"version": "131.0.6778.108",
"version": "131.0.6778.139",
"deps": {
"depot_tools": {
"rev": "20b9bdcace7ed561d6a75728c85373503473cb6b",
Expand All @@ -777,16 +777,16 @@
"hash": "sha256-a8yCdBsl0nBMPS+pCLwrkAvQNP/THx/z/GySyOgx4Jk="
},
"ungoogled-patches": {
"rev": "131.0.6778.108-1",
"hash": "sha256-xFtxgZRbtG8qxvTyt++wa69dQvr61K29mTubkxoI1Y8="
"rev": "131.0.6778.139-1",
"hash": "sha256-6ehqckNitebDNEiY9qgbk8XMLADhpayxodpSFjlUDTA="
},
"npmHash": "sha256-b1l8SwjAfoColoa3zhTMPEF/rRuxzT3ATHE77rWU5EA="
},
"DEPS": {
"src": {
"url": "https://chromium.googlesource.com/chromium/src.git",
"rev": "3b014839fbc4fb688b2f5af512d6ce312ad208b1",
"hash": "sha256-ypzu3LveMFcOFm7+JlaERjzs3SK/n9+sfm5wOKB8/zw=",
"rev": "c35bbcbd7c2775a12a3f320e05ac0022939b1a8a",
"hash": "sha256-oJ4y9W51RMiUk40Uz8b3LJH0kMD5GMDG2V//Tng4/4A=",
"recompress": true
},
"src/third_party/clang-format/script": {
Expand Down Expand Up @@ -1126,8 +1126,8 @@
},
"src/third_party/icu": {
"url": "https://chromium.googlesource.com/chromium/deps/icu.git",
"rev": "4239b1559d11d4fa66c100543eda4161e060311e",
"hash": "sha256-7568UHNDOzyTCLy3TAwxZLUrKfB6A1yKA0wVZQJjKoI="
"rev": "ba7ed88cc5ffa428a82a0f787dd61031aa5ef4ca",
"hash": "sha256-WtCoxcbEkkZayB6kXdQEhZ7/ue+ka6cguhFbpeWUBJA="
},
"src/third_party/jsoncpp/source": {
"url": "https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git",
Expand Down Expand Up @@ -1526,8 +1526,8 @@
},
"src/v8": {
"url": "https://chromium.googlesource.com/v8/v8.git",
"rev": "e38771cb283b9689683c5ac0b5831dd89f8ec690",
"hash": "sha256-csSDnepYxil0R3PD/LVxW7JBcasOKG4l6q6vj8zHV/I="
"rev": "b97fcc24b3523da5e389d2a6d76857f134be09c5",
"hash": "sha256-5Es9Zot/DH+UKq3+aCgeQC+Llgj7/lmPXUYvar/hX7I="
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "17.6.1",
"repo_hash": "1az442dj0xxkb3bdqgln7ax5779bmndbx8p8mszybgghkjl0g4nq",
"version": "17.6.2",
"repo_hash": "0j08l2rhhlm5b6cim3bq5zk6lwimf467jhqarm01mxn53qj5rfna",
"yarn_hash": "0g60lvngbvgvirjag5l539innmklh2x6a56vd38svrgx5jm6d3jc",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v17.6.1-ee",
"rev": "v17.6.2-ee",
"passthru": {
"GITALY_SERVER_VERSION": "17.6.1",
"GITLAB_PAGES_VERSION": "17.6.1",
"GITALY_SERVER_VERSION": "17.6.2",
"GITLAB_PAGES_VERSION": "17.6.2",
"GITLAB_SHELL_VERSION": "14.39.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.4.0",
"GITLAB_WORKHORSE_VERSION": "17.6.1"
"GITLAB_WORKHORSE_VERSION": "17.6.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ in
buildGoModule rec {
pname = "gitlab-workhorse";

version = "17.6.1";
version = "17.6.2";

# nixpkgs-update: no auto update
src = fetchFromGitLab {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ gem 'cvss-suite', '~> 3.0.1', require: 'cvss_suite' # rubocop:todo Gemfile/Missi
gem 'arr-pm', '~> 0.0.12' # rubocop:todo Gemfile/MissingFeatureCategory

# Remote Development
gem 'devfile', '~> 0.1.0', feature_category: :workspaces
gem 'devfile', '~> 0.1.1', feature_category: :workspaces

# Apple plist parsing
gem 'CFPropertyList', '~> 3.0.0' # rubocop:todo Gemfile/MissingFeatureCategory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ GEM
thor (>= 0.19, < 2)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
devfile (0.1.0)
devfile (0.1.1)
device_detector (1.0.0)
devise (4.9.3)
bcrypt (~> 3.0)
Expand Down Expand Up @@ -2018,7 +2018,7 @@ DEPENDENCIES
declarative_policy (~> 1.1.0)
deprecation_toolkit (~> 1.5.1)
derailed_benchmarks
devfile (~> 0.1.0)
devfile (~> 0.1.1)
device_detector
devise (~> 4.9.3)
devise-pbkdf2-encryptable (~> 0.0.0)!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1233,10 +1233,10 @@ src:
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "18fbys0bf562681c96a4qcbdwxhlc9w3jz8rzkkfqns421hn024q";
sha256 = "0yf8ckwr0pkzbdhs4y57gv9a80hvasdjv815fn67yhs4zpphqs5f";
type = "gem";
};
version = "0.1.0";
version = "0.1.1";
};
device_detector = {
groups = ["default"];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/build-support/fetchgithub/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ let
) // privateAttrs // passthruAttrs // { inherit name; };
in

fetcher fetcherArgs // { meta = newMeta; inherit rev owner repo; }
fetcher fetcherArgs // { meta = newMeta; inherit rev owner repo tag; }
)
4 changes: 2 additions & 2 deletions pkgs/by-name/bu/bup/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
assert par2Support -> par2cmdline != null;

let
version = "0.33.4";
version = "0.33.5";

pythonDeps =
with python3.pkgs;
Expand All @@ -38,7 +38,7 @@ stdenv.mkDerivation {
repo = "bup";
owner = "bup";
rev = version;
hash = "sha256-9rWzHONcu4W/JcnDUGPbuGksroODbhdL6bNF+3Dd2ag=";
hash = "sha256-5CaH7aZTmGgQwXpyORG2/Ne/8uPlGXl7mkzokLhWExU=";
};

buildInputs = [
Expand Down
73 changes: 73 additions & 0 deletions pkgs/by-name/cl/clapgrep/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
lib,
rustPlatform,
fetchFromGitHub,

wrapGAppsHook4,
pkg-config,
blueprint-compiler,

gtk4,
libadwaita,
glib,

nix-update-script,
}:
let
version = "1.3.1";
appid = "de.leopoldluley.Clapgrep";
in
rustPlatform.buildRustPackage {
pname = "clapgrep";
inherit version;

src = fetchFromGitHub {
owner = "luleyleo";
repo = "clapgrep";
rev = "refs/tags/v${version}";
hash = "sha256-MYV8MrCIpa8eqp2iCLTNLZrVQOyGsMEGqlnEF43fyls=";
};

useFetchCargoVendor = true;
cargoHash = "sha256-tpWv8CznTxoAgOf0mb99peqUTQSfv+16dAmX8n7XVDQ=";

nativeBuildInputs = [
wrapGAppsHook4
pkg-config
blueprint-compiler
];

buildInputs = [
gtk4
libadwaita
glib
];

env.APP_ID = appid;

# see Justfile
postInstall = ''
mv $out/bin/clapgrep-gnome $out/bin/clapgrep
install -D assets/${appid}.desktop -t $out/share/applications
install -D assets/${appid}.metainfo.xml -t $out/share/metainfo
install -D assets/icons/hicolor/scalable/apps/${appid}.svg -t $out/share/icons/hicolor/scalable/apps
mkdir -p assets/locale
cat po/LINGUAS | while read lang; do
mkdir -p assets/locale/$lang/LC_MESSAGES;
msgfmt -o assets/locale/$lang/LC_MESSAGES/${appid}.mo po/$lang.po;
done
cp -r assets/locale -t $out/share
'';

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

meta = {
description = "Search through all your files";
homepage = "https://github.com/luleyleo/clapgrep";
license = with lib.licenses; [ gpl3Only ];
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ pluiedev ];
mainProgram = "clapgrep";
};
}
4 changes: 2 additions & 2 deletions pkgs/by-name/eg/egl-wayland/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

stdenv.mkDerivation rec {
pname = "egl-wayland";
version = "1.1.16";
version = "1.1.17";

outputs = [ "out" "dev" ];

src = fetchFromGitHub {
owner = "Nvidia";
repo = pname;
rev = version;
hash = "sha256-hX1pMz0X5ABNRsa3Q7W26hNeEaEMnnFb7ID+k6H8Nwg=";
hash = "sha256-/lj52qCbv07NDYDdF8SEjCIWWPAMcwXNvYXiU8IoC/A=";
};

postPatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/gi/gitaly/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:

let
version = "17.6.1";
version = "17.6.2";
package_version = "v${lib.versions.major version}";
gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}";

Expand All @@ -21,7 +21,7 @@ let
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
hash = "sha256-eh/dMoKnwN+xz6dMnPZUD8b/SyrxUqDAtWmCIBXbIT4=";
hash = "sha256-i+Yk5hFhtIxf12crSJRbkHNbfPy9ZbxSNFEPwFOovhE=";
};

vendorHash = "sha256-AxuAEiYV3jwWxcuTLc1i4/6sG957YIA+Fmky5Dkdzu8=";
Expand Down
Loading

0 comments on commit f1587e5

Please sign in to comment.