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
Show file tree
Hide file tree
Showing 235 changed files with 7,258 additions and 5,765 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
13 changes: 13 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 Expand Up @@ -22076,6 +22083,12 @@
githubId = 7709;
name = "Thomaz Leite";
};
tholo = {
email = "ali0mhmz@gmail.com";
github = "tholoo";
githubId = 42005990;
name = "Ali Mohammadzadeh";
};
thomasdesr = {
email = "git@hive.pw";
github = "thomasdesr";
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
16 changes: 9 additions & 7 deletions pkgs/applications/audio/fmit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ mkDerivation rec {
substituteInPlace fmit.pro --replace '$$FMITVERSIONGITPRO' '${version}'
'';

preConfigure = ''
qmakeFlags="$qmakeFlags \
CONFIG+=${lib.optionalString alsaSupport "acs_alsa"} \
CONFIG+=${lib.optionalString jackSupport "acs_jack"} \
CONFIG+=${lib.optionalString portaudioSupport "acs_portaudio"} \
PREFIXSHORTCUT=$out"
'';
qmakeFlags = [
"PREFIXSHORTCUT=${placeholder "out"}"
] ++ lib.optionals alsaSupport [
"CONFIG+=acs_alsa"
] ++ lib.optionals jackSupport [
"CONFIG+=acs_jack"
] ++ lib.optionals portaudioSupport [
"CONFIG+=acs_portaudio"
];

meta = with lib; {
description = "Free Musical Instrument Tuner";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/snapcast/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config
, alsa-lib, asio, avahi, boost179, flac, libogg, libvorbis, libopus, soxr
, alsa-lib, asio, avahi, boost, flac, libogg, libvorbis, libopus, soxr
, IOKit, AudioToolbox
, aixlog, popl
, pulseaudioSupport ? false, libpulseaudio
Expand All @@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
# snapcast also supports building against tremor but as we have libogg, that's
# not needed
buildInputs = [
boost179
boost
asio avahi flac libogg libvorbis libopus
aixlog popl soxr
] ++ lib.optional pulseaudioSupport libpulseaudio
Expand Down
4 changes: 1 addition & 3 deletions pkgs/applications/audio/sonic-pi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ stdenv.mkDerivation rec {
"-DUSE_SYSTEM_LIBS=ON"
"-DBUILD_IMGUI_INTERFACE=${if withImGui then "ON" else "OFF"}"
"-DWITH_QT_GUI_WEBENGINE=${if withTauWidget then "ON" else "OFF"}"
"-DAPP_INSTALL_ROOT=${placeholder "out"}/app"
];

doCheck = true;
Expand Down Expand Up @@ -136,9 +137,6 @@ stdenv.mkDerivation rec {
# Prebuild Ruby vendored dependencies and Qt docs
./linux-prebuild.sh -o
# Append CMake flag depending on the value of $out
cmakeFlags+=" -DAPP_INSTALL_ROOT=$out/app"
'';

postBuild = ''
Expand Down
81 changes: 0 additions & 81 deletions pkgs/applications/blockchains/litecoin/default.nix

This file was deleted.

6 changes: 3 additions & 3 deletions pkgs/applications/blockchains/zcash/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ autoreconfHook, boost180, cargo, coreutils, curl, cxx-rs, db62, fetchFromGitHub
{ autoreconfHook, boost, cargo, coreutils, curl, cxx-rs, db62, fetchFromGitHub
, git, hexdump, lib, libevent, libsodium, makeWrapper, rustPlatform
, pkg-config, Security, stdenv, testers, tl-expected, utf8cpp, util-linux, zcash, zeromq
}:
Expand All @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage.override { inherit stdenv; } rec {
nativeBuildInputs = [ autoreconfHook cargo cxx-rs git hexdump makeWrapper pkg-config ];

buildInputs = [
boost180
boost
db62
libevent
libsodium
Expand Down Expand Up @@ -56,7 +56,7 @@ rustPlatform.buildRustPackage.override { inherit stdenv; } rec {

configureFlags = [
"--disable-tests"
"--with-boost-libdir=${lib.getLib boost180}/lib"
"--with-boost-libdir=${lib.getLib boost}/lib"
"RUST_TARGET=${stdenv.hostPlatform.rust.rustcTargetSpec}"
];

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/kde/marble.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mkDerivation {
protobuf_21 qtscript qtsvg qtquickcontrols qtwebengine shared-mime-info krunner kparts
knewstuff gpsd
];
preConfigure = ''
cmakeFlags+=" -DINCLUDE_INSTALL_DIR=''${!outputDev}/include"
'';
cmakeFlags = [
"-DINCLUDE_INSTALL_DIR=${placeholder "dev"}/include"
];
}
Loading

0 comments on commit 2ae3a3b

Please sign in to comment.