Skip to content

Commit

Permalink
wip: boost; issues: bambu-studio; mongodb-{6,7}_0; electricsheep; oct…
Browse files Browse the repository at this point in the history
…opus-caller

bambu-studio: bambulab/BambuStudio#3968
  • Loading branch information
emilazy committed Nov 25, 2024
15 parents d2b9577 + 8d3e3da + fb2dd4a + f1dd207 + 0367571 + 14ba163 + c35c2c3 + 382ef6c + 6ecce26 + e01aea2 + 92d2131 + 99a2b21 + 3710fd1 + 658a8d0 + f4e154f commit fc3f4e4
Show file tree
Hide file tree
Showing 124 changed files with 2,302 additions and 2,019 deletions.
4 changes: 2 additions & 2 deletions doc/languages-frameworks/chicken.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ all the other eggs:

```nix
let
myChickenPackages = pkgs.chickenPackages.overrideScope' (self: super: {
myChickenPackages = pkgs.chickenPackages.overrideScope (self: super: {
# The chicken package itself can be overridden to effect the whole ecosystem.
# chicken = super.chicken.overrideAttrs {
# src = ...
# };
chickenEggs = super.chickenEggs.overrideScope' (eggself: eggsuper: {
chickenEggs = super.chickenEggs.overrideScope (eggself: eggsuper: {
srfi-180 = eggsuper.srfi-180.overrideAttrs {
# path to a local copy of srfi-180
src = <...>;
Expand Down
4 changes: 0 additions & 4 deletions lib/customisation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -543,10 +543,6 @@ rec {
newScope = scope: newScope (self // scope);
callPackage = self.newScope {};
overrideScope = g: makeScope newScope (extends g f);
# Remove after 24.11 is released.
overrideScope' = g: warnIf (isInOldestRelease 2311)
"`overrideScope'` (from `lib.makeScope`) has been renamed to `overrideScope`."
(makeScope newScope (extends g f));
packages = f;
};
in self;
Expand Down
7 changes: 7 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16258,6 +16258,13 @@
github = "octodi";
githubId = 127038896;
};
octvs = {
name = "octvs";
email = "octvs@posteo.de";
matrix = "@octvs:matrix.org";
github = "octvs";
githubId = 42993892;
};
oddlama = {
email = "oddlama@oddlama.org";
github = "oddlama";
Expand Down
1 change: 0 additions & 1 deletion nixos/modules/services/matrix/mautrix-signal.nix
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ in
--registration='${registrationFile}'
'';
LockPersonality = true;
MemoryDenyWriteExecute = true;
NoNewPrivileges = true;
PrivateDevices = true;
PrivateTmp = true;
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/open-webui.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ in
'';
description = ''
Extra environment variables for Open-WebUI.
For more details see https://docs.openwebui.com/getting-started/env-configuration/
For more details see https://docs.openwebui.com/getting-started/advanced-topics/env-configuration/
'';
};

Expand Down
20 changes: 20 additions & 0 deletions nixos/modules/services/misc/paperless.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ let
manage = pkgs.writeShellScript "manage" ''
set -o allexport # Export the following env vars
${lib.toShellVars env}
${lib.optionalString (cfg.environmentFile != null) "source ${cfg.environmentFile}"}
exec ${cfg.package}/bin/paperless-ngx "$@"
'';

Expand All @@ -52,6 +53,7 @@ let
CapabilityBoundingSet = "";
# ProtectClock adds DeviceAllow=char-rtc r
DeviceAllow = "";
EnvironmentFile = mkIf (cfg.environmentFile != null) cfg.environmentFile;
LockPersonality = true;
MemoryDenyWriteExecute = true;
NoNewPrivileges = true;
Expand Down Expand Up @@ -228,6 +230,24 @@ in
This sets `OMP_NUM_THREADS` to `1` in order to mitigate the issue. See
https://github.com/NixOS/nixpkgs/issues/240591 for more information
'' // mkOption { default = true; };

environmentFile = mkOption {
type = types.nullOr lib.types.path;
default = null;
example = "/run/secrets/paperless";
description = ''
Path to a file containing extra paperless config options in the systemd `EnvironmentFile`
format. Refer to the [documentation](https://docs.paperless-ngx.com/configuration/) for
config options.
This can be used to pass secrets to paperless without putting them in the Nix store.
To set a database password, point `environmentFile` at a file containing:
```
PAPERLESS_DBPASS=<pass>
```
'';
};
};

config = mkIf cfg.enable {
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/services/networking/clatd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ in
};
};

networking.networkmanager.dispatcherScripts = cfg.enableNetworkManagerIntegration [
networking.networkmanager.dispatcherScripts = lib.optionals cfg.enableNetworkManagerIntegration [
{
type = "basic";
# https://github.com/toreanderson/clatd/blob/master/scripts/clatd.networkmanager
source = pkgs.writeShellScript "restart-clatd" ''
[ "$DEVICE_IFACE" = "clat" ] && exit 0
[ "$DEVICE_IFACE" = "${cfg.settings.clat-dev or "clat"}" ] && exit 0
[ "$2" != "up" ] && [ "$2" != "down" ] && exit 0
${pkgs.systemd}/bin/systemctl restart clatd.service
'';
Expand Down
35 changes: 35 additions & 0 deletions pkgs/applications/editors/vim/plugins/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2417,6 +2417,18 @@ final: prev:
meta.homepage = "https://github.com/manicmaniac/coconut.vim/";
};

codecompanion-nvim = buildVimPlugin {
pname = "codecompanion.nvim";
version = "2024-11-24";
src = fetchFromGitHub {
owner = "olimorris";
repo = "codecompanion.nvim";
rev = "926027bec8d7251730fe696794ced003152033fc";
sha256 = "03yn42x9k856hr22j0lnyi9fy6ij4kvh3w44jf4ih181w8pa07j7";
};
meta.homepage = "https://github.com/olimorris/codecompanion.nvim/";
};

codeium-nvim = buildVimPlugin {
pname = "codeium.nvim";
version = "2024-10-28";
Expand Down Expand Up @@ -4488,6 +4500,17 @@ final: prev:
meta.homepage = "https://github.com/vim-scripts/gitignore.vim/";
};

gitlab-vim = buildVimPlugin {
pname = "gitlab.vim";
version = "2024-11-22";
src = fetchgit {
url = "https://gitlab.com/gitlab-org/editor-extensions/gitlab.vim";
rev = "5e129155341ccb94d4a93b336e6d936f11edb77d";
sha256 = "0nhhlcw716qhzhvqzc784xq2c104ahrzwhhzmasadk9c269s9vfd";
};
meta.homepage = "https://gitlab.com/gitlab-org/editor-extensions/gitlab.vim";
};

gitlinker-nvim = buildVimPlugin {
pname = "gitlinker.nvim";
version = "2023-02-03";
Expand Down Expand Up @@ -11447,6 +11470,18 @@ final: prev:
meta.homepage = "https://github.com/liuchengxu/space-vim/";
};

spaceman-nvim = buildVimPlugin {
pname = "spaceman.nvim";
version = "2024-11-03";
src = fetchFromGitHub {
owner = "FireIsGood";
repo = "spaceman.nvim";
rev = "7910d202073bcc5f567481426f771b3737451dd9";
sha256 = "1p2j6yygqsmxbvxns4ssiyspsnpbz12pq29s9vs3n5x2ddxrrwjn";
};
meta.homepage = "https://github.com/FireIsGood/spaceman.nvim/";
};

spacevim = buildVimPlugin {
pname = "spacevim";
version = "2018-03-29";
Expand Down
5 changes: 5 additions & 0 deletions pkgs/applications/editors/vim/plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,11 @@ in
src = "${nodePackages."@yaegassy/coc-nginx"}/lib/node_modules/@yaegassy/coc-nginx";
};

codecompanion-nvim = super.codecompanion-nvim.overrideAttrs {
dependencies = with self; [ plenary-nvim ];
nvimRequireCheck = "codecompanion";
};

codeium-nvim =
let
# Update according to https://github.com/Exafunction/codeium.nvim/blob/main/lua/codeium/versions.json
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/editors/vim/plugins/vim-plugin-names
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ https://github.com/coc-extensions/coc-svelte/,,
https://github.com/iamcco/coc-tailwindcss/,,
https://github.com/neoclide/coc.nvim/,release,
https://github.com/manicmaniac/coconut.vim/,HEAD,
https://github.com/olimorris/codecompanion.nvim/,HEAD,
https://github.com/Exafunction/codeium.nvim/,HEAD,
https://github.com/Exafunction/codeium.vim/,HEAD,
https://github.com/mistricky/codesnap.nvim/,HEAD,
Expand Down Expand Up @@ -372,6 +373,7 @@ https://github.com/mikesmithgh/git-prompt-string-lualine.nvim/,HEAD,
https://github.com/ThePrimeagen/git-worktree.nvim/,,
https://github.com/wintermute-cell/gitignore.nvim/,HEAD,
https://github.com/vim-scripts/gitignore.vim/,,
https://gitlab.com/gitlab-org/editor-extensions/gitlab.vim,HEAD,
https://github.com/ruifm/gitlinker.nvim/,,
https://github.com/lewis6991/gitsigns.nvim/,,
https://github.com/gregsexton/gitv/,,
Expand Down Expand Up @@ -951,6 +953,7 @@ https://github.com/sainnhe/sonokai/,,
https://github.com/sQVe/sort.nvim/,HEAD,
https://github.com/chikatoike/sourcemap.vim/,,
https://github.com/liuchengxu/space-vim/,,
https://github.com/FireIsGood/spaceman.nvim/,HEAD,
https://github.com/ctjhoa/spacevim/,,
https://github.com/chrisgeo/sparkup/,,
https://github.com/cxwx/specs.nvim/,HEAD,
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/browsers/vivaldi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let
vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
in stdenv.mkDerivation rec {
pname = "vivaldi";
version = "7.0.3495.6";
version = "7.0.3495.18";

suffix = {
aarch64-linux = "arm64";
Expand All @@ -34,8 +34,8 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb";
hash = {
aarch64-linux = "sha256-6jr1TFhwBTaAc/UpG5yBj6A09kytmtuKVbgPgvXMpoI=";
x86_64-linux = "sha256-dbBdmqoY4x6+zwiWe+eRjrd0jeww3ANZNDDYH79uxaU=";
aarch64-linux = "sha256-UXv04KNyTgFsHsgl3bKZcttZfWSnOQbpwRVbZnCbKVY=";
x86_64-linux = "sha256-LFKtuIorb21/U6ysHq6GRo0FP2DgD7yM6DwuIlpuT5U=";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,11 @@
"vendorHash": "sha256-quoFrJbB1vjz+MdV+jnr7FPACHuUe5Gx9POLubD2IaM="
},
"digitalocean": {
"hash": "sha256-sgyAevLDugDoaoeqgCmacqJAUDl35bifEX6euJf74/Y=",
"hash": "sha256-hxY0yg6syB7Dym323MOj6y0ZzLM0jCWO08zJmg4AvGk=",
"homepage": "https://registry.terraform.io/providers/digitalocean/digitalocean",
"owner": "digitalocean",
"repo": "terraform-provider-digitalocean",
"rev": "v2.42.0",
"rev": "v2.44.1",
"spdx": "MPL-2.0",
"vendorHash": null
},
Expand All @@ -372,13 +372,13 @@
"vendorHash": "sha256-osSB88Xzvt5DTDE0AY2+QuKClfbGIVJNrXuy4Cbk1Tg="
},
"dnsimple": {
"hash": "sha256-19h4x+kxhFwlNUdTmTLjoLRQB7fNBh0CxxoQDGRPPiQ=",
"hash": "sha256-ZKi8+EYLW/Pey0EHTKY0ly7+2Y13mqxMhGia6UUdEtI=",
"homepage": "https://registry.terraform.io/providers/dnsimple/dnsimple",
"owner": "dnsimple",
"repo": "terraform-provider-dnsimple",
"rev": "v1.7.0",
"rev": "v1.8.0",
"spdx": "MPL-2.0",
"vendorHash": "sha256-5445cUKxjNlZcQ6opJKgXgT7I9XUmqbPMB/iKuEBPwg="
"vendorHash": "sha256-HBwyjqKSshB4Nl2e/xnMnWgYVolSxvKZHi+bYfM2+Ho="
},
"docker": {
"hash": "sha256-UyHOI8C0eDV5YllAi9clHp/CEldHjIp3FHHMPy1rK58=",
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/radio/qlog/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@

stdenv.mkDerivation rec {
pname = "qlog";
version = "0.39.0";
version = "0.40.0";

src = fetchFromGitHub {
owner = "foldynl";
repo = "QLog";
rev = "v${version}";
hash = "sha256-W+Ftc97/lI49rUItVhCb9W9mxcCElED/oZxefgIDqyM=";
hash = "sha256-mG2OUw1sB2bd4XiEXP5CblfpeZZNVqQ7310wepCZqbI=";
fetchSubmodules = true;
};

Expand Down
34 changes: 1 addition & 33 deletions pkgs/build-support/singularity-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,6 @@ let
defaultSingularity = singularity;
in
lib.makeExtensible (final: {
# TODO(@ShamrockLee): Remove after Nixpkgs 24.11 branch-off.
shellScript =
lib.warn
"`singularity-tools.shellScript` is deprecated. Use `writeScript`, `writeShellScripts` or `writers.writeBash` instead."
(
name: text:
writeScript name ''
#!${runtimeShell}
set -e
${text}
''
);

# TODO(@ShamrockLee): Remove after Nixpkgs 24.11 branch-off.
mkLayer =
lib.warn
"`singularity-tools.mkLayer` is deprecated, as it is no longer used to implement `singularity-tools.buildImages`."
(
{
name,
contents ? [ ],
# May be "apptainer" instead of "singularity"
projectName ? (singularity.projectName or "singularity"),
}:
runCommand "${projectName}-layer-${name}" { inherit contents; } ''
mkdir $out
for f in $contents ; do
cp -ra $f $out/
done
''
);

buildImage =
{
name,
Expand Down Expand Up @@ -118,7 +86,7 @@ lib.makeExtensible (final: {
mkdir -p bin ./${builtins.storeDir}
# Loop over the line-separated paths in $layerClosure
while IFS= read -r f; do
cp -r "$f" "./$f"
cp -ar "$f" "./$f"
done < "$layerClosure"
# TODO(@ShamrockLee):
Expand Down
Loading

0 comments on commit fc3f4e4

Please sign in to comment.