Merge #328673: staging-next 2024-07-20

This commit is contained in:
Vladimír Čunát 2024-07-28 13:45:55 +02:00
commit a5b2fe7374
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
942 changed files with 15103 additions and 11914 deletions

View file

@ -46,11 +46,16 @@ rustPlatform.buildRustPackage rec {
} }
``` ```
`buildRustPackage` requires either a `cargoHash` (preferred) or a `buildRustPackage` requires a `cargoHash` attribute, computed over all crate sources of this package.
`cargoSha256` attribute, computed over all crate sources of this package.
`cargoHash` supports [SRI](https://www.w3.org/TR/SRI/) hashes and should be ::: {.warning}
preferred over `cargoSha256` which was used for traditional Nix SHA-256 hashes. `cargoSha256` is already deprecated, and is subject to removal in favor of
For example: `cargoHash` which supports [SRI](https://www.w3.org/TR/SRI/) hashes.
If you are still using `cargoSha256`, you can simply replace it with
`cargoHash` and recompute the hash, or convert the original sha256 to SRI
hash using `nix-hash --to-sri --type sha256 "<original sha256>"`.
:::
```nix ```nix
{ {
@ -58,7 +63,7 @@ For example:
} }
``` ```
Exception: If the application has cargo `git` dependencies, the `cargoHash`/`cargoSha256` Exception: If the application has cargo `git` dependencies, the `cargoHash`
approach will not work, and you will need to copy the `Cargo.lock` file of the application approach will not work, and you will need to copy the `Cargo.lock` file of the application
to nixpkgs and continue with the next section for specifying the options of the `cargoLock` to nixpkgs and continue with the next section for specifying the options of the `cargoLock`
section. section.
@ -76,14 +81,6 @@ then be taken from the failed build. A fake hash can be used for
} }
``` ```
For `cargoSha256` you can use:
```nix
{
cargoSha256 = lib.fakeSha256;
}
```
Per the instructions in the [Cargo Book](https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html) Per the instructions in the [Cargo Book](https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html)
best practices guide, Rust applications should always commit the `Cargo.lock` best practices guide, Rust applications should always commit the `Cargo.lock`
file in git to ensure a reproducible build. However, a few packages do not, and file in git to ensure a reproducible build. However, a few packages do not, and
@ -98,7 +95,7 @@ directory into a tar.gz archive.
The tarball with vendored dependencies contains a directory with the The tarball with vendored dependencies contains a directory with the
package's `name`, which is normally composed of `pname` and package's `name`, which is normally composed of `pname` and
`version`. This means that the vendored dependencies hash `version`. This means that the vendored dependencies hash
(`cargoHash`/`cargoSha256`) is dependent on the package name and (`cargoHash`) is dependent on the package name and
version. The `cargoDepsName` attribute can be used to use another name version. The `cargoDepsName` attribute can be used to use another name
for the directory of vendored dependencies. For example, the hash can for the directory of vendored dependencies. For example, the hash can
be made invariant to the version by setting `cargoDepsName` to be made invariant to the version by setting `cargoDepsName` to
@ -123,7 +120,7 @@ rustPlatform.buildRustPackage rec {
### Importing a `Cargo.lock` file {#importing-a-cargo.lock-file} ### Importing a `Cargo.lock` file {#importing-a-cargo.lock-file}
Using a vendored hash (`cargoHash`/`cargoSha256`) is tedious when using Using a vendored hash (`cargoHash`) is tedious when using
`buildRustPackage` within a project, since it requires that the hash `buildRustPackage` within a project, since it requires that the hash
is updated after every change to `Cargo.lock`. Therefore, is updated after every change to `Cargo.lock`. Therefore,
`buildRustPackage` also supports vendoring dependencies directly from `buildRustPackage` also supports vendoring dependencies directly from

View file

@ -252,6 +252,9 @@
- The `services.mxisd` module has been removed as both [mxisd](https://github.com/kamax-matrix/mxisd) and [ma1sd](https://github.com/ma1uta/ma1sd) are not maintained any longer. - The `services.mxisd` module has been removed as both [mxisd](https://github.com/kamax-matrix/mxisd) and [ma1sd](https://github.com/ma1uta/ma1sd) are not maintained any longer.
Consequently the package `pkgs.ma1sd` has also been removed. Consequently the package `pkgs.ma1sd` has also been removed.
- `ffmpeg_5` has been removed. Please use the unversioned `ffmpeg`,
pin a newer version, or if necessary pin `ffmpeg_4` for compatibility.
## Other Notable Changes {#sec-release-24.11-notable-changes} ## Other Notable Changes {#sec-release-24.11-notable-changes}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
@ -260,6 +263,11 @@
- The `stackclashprotection` hardening flag has been added, though disabled by default. - The `stackclashprotection` hardening flag has been added, though disabled by default.
- `cargoSha256` in `rustPlatform.buildRustPackage` has been deprecated in favor
of `cargoHash` which supports SRI hashes. See
[buildRustPackage: Compiling Rust applications with Cargo](https://nixos.org/manual/nixpkgs/unstable/#compiling-rust-applications-with-cargo)
for more information.
- `hareHook` has been added as the language framework for Hare. From now on, it, - `hareHook` has been added as the language framework for Hare. From now on, it,
not the `hare` package, should be added to `nativeBuildInputs` when building not the `hare` package, should be added to `nativeBuildInputs` when building
Hare programs. Hare programs.
@ -293,6 +301,8 @@
{option}`services.gitlab-runner.services.<name>.authenticationTokenConfigFile` instead of the former {option}`services.gitlab-runner.services.<name>.authenticationTokenConfigFile` instead of the former
{option}`services.gitlab-runner.services.<name>.registrationConfigFile` option. {option}`services.gitlab-runner.services.<name>.registrationConfigFile` option.
- `iproute2` now has libbpf support.
- `nix.channel.enable = false` no longer implies `nix.settings.nix-path = []`. - `nix.channel.enable = false` no longer implies `nix.settings.nix-path = []`.
Since Nix 2.13, a `nix-path` set in `nix.conf` cannot be overriden by the `NIX_PATH` configuration variable. Since Nix 2.13, a `nix-path` set in `nix.conf` cannot be overriden by the `NIX_PATH` configuration variable.

View file

@ -169,6 +169,10 @@ in rec {
optional (attr ? ${name} && !isInt attr.${name}) optional (attr ? ${name} && !isInt attr.${name})
"Systemd ${group} field `${name}' is not an integer"; "Systemd ${group} field `${name}' is not an integer";
assertRemoved = name: see: group: attr:
optional (attr ? ${name})
"Systemd ${group} field `${name}' has been removed. See ${see}";
checkUnitConfig = group: checks: attrs: let checkUnitConfig = group: checks: attrs: let
# We're applied at the top-level type (attrsOf unitOption), so the actual # We're applied at the top-level type (attrsOf unitOption), so the actual
# unit options might contain attributes from mkOverride and mkIf that we need to # unit options might contain attributes from mkOverride and mkIf that we need to

View file

@ -45,12 +45,61 @@ let
inherit (lib.types) inherit (lib.types)
attrsOf attrsOf
coercedTo
enum
lines lines
listOf listOf
nullOr nullOr
oneOf
package
path path
singleLineStr
submodule submodule
; ;
initrdStorePathModule = { config, ... }: {
options = {
enable = (mkEnableOption "copying of this file and symlinking it") // { default = true; };
target = mkOption {
type = nullOr path;
description = ''
Path of the symlink.
'';
default = null;
};
source = mkOption {
type = path;
description = "Path of the source file.";
};
dlopen = {
usePriority = mkOption {
type = enum [ "required" "recommended" "suggested" ];
default = "recommended";
description = ''
Priority of dlopen ELF notes to include. "required" is
minimal, "recommended" includes "required", and
"suggested" includes "recommended".
See: https://systemd.io/ELF_DLOPEN_METADATA/
'';
};
features = mkOption {
type = listOf singleLineStr;
default = [ ];
description = ''
Features to enable via dlopen ELF notes. These will be in
addition to anything included via 'usePriority',
regardless of their priority.
'';
};
};
};
};
in in
{ {
@ -86,31 +135,23 @@ in
automounts = listOf (submodule [ stage2AutomountOptions unitConfig automountConfig ]); automounts = listOf (submodule [ stage2AutomountOptions unitConfig automountConfig ]);
initrdAutomounts = attrsOf (submodule [ stage1AutomountOptions unitConfig automountConfig ]); initrdAutomounts = attrsOf (submodule [ stage1AutomountOptions unitConfig automountConfig ]);
initrdStorePath = listOf (coercedTo
(oneOf [ singleLineStr package ])
(source: { inherit source; })
(submodule initrdStorePathModule));
initrdContents = attrsOf (submodule ({ config, options, name, ... }: { initrdContents = attrsOf (submodule ({ config, options, name, ... }: {
imports = [ initrdStorePathModule ];
options = { options = {
enable = (mkEnableOption "copying of this file and symlinking it") // { default = true; };
target = mkOption {
type = path;
description = ''
Path of the symlink.
'';
default = name;
};
text = mkOption { text = mkOption {
default = null; default = null;
type = nullOr lines; type = nullOr lines;
description = "Text of the file."; description = "Text of the file.";
}; };
source = mkOption {
type = path;
description = "Path of the source file.";
};
}; };
config = { config = {
target = mkDefault name;
source = mkIf (config.text != null) ( source = mkIf (config.text != null) (
let name' = "initrd-" + baseNameOf name; let name' = "initrd-" + baseNameOf name;
in mkDerivedConfig options.text (pkgs.writeText name') in mkDerivedConfig options.text (pkgs.writeText name')

View file

@ -33,7 +33,6 @@ with lib;
fastfetch = super.fastfetch.override { vulkanSupport = false; waylandSupport = false; x11Support = false; }; fastfetch = super.fastfetch.override { vulkanSupport = false; waylandSupport = false; x11Support = false; };
ffmpeg = super.ffmpeg.override { ffmpegVariant = "headless"; }; ffmpeg = super.ffmpeg.override { ffmpegVariant = "headless"; };
ffmpeg_4 = super.ffmpeg_4.override { ffmpegVariant = "headless"; }; ffmpeg_4 = super.ffmpeg_4.override { ffmpegVariant = "headless"; };
ffmpeg_5 = super.ffmpeg_5.override { ffmpegVariant = "headless"; };
ffmpeg_6 = super.ffmpeg_6.override { ffmpegVariant = "headless"; }; ffmpeg_6 = super.ffmpeg_6.override { ffmpegVariant = "headless"; };
ffmpeg_7 = super.ffmpeg_7.override { ffmpegVariant = "headless"; }; ffmpeg_7 = super.ffmpeg_7.override { ffmpegVariant = "headless"; };
# dep of graphviz, libXpm is optional for Xpm support # dep of graphviz, libXpm is optional for Xpm support

View file

@ -356,6 +356,7 @@
./security/systemd-confinement.nix ./security/systemd-confinement.nix
./security/tpm2.nix ./security/tpm2.nix
./security/wrappers/default.nix ./security/wrappers/default.nix
./services/accessibility/speechd.nix
./services/admin/docuum.nix ./services/admin/docuum.nix
./services/admin/meshcentral.nix ./services/admin/meshcentral.nix
./services/admin/oxidized.nix ./services/admin/oxidized.nix

View file

@ -126,5 +126,15 @@ with lib;
# allow nix-copy to live system # allow nix-copy to live system
nix.settings.trusted-users = [ "root" "nixos" ]; nix.settings.trusted-users = [ "root" "nixos" ];
# Install less voices for speechd to save some space
services.speechd.package = pkgs.speechd.override {
mbrola = pkgs.mbrola.override {
mbrola-voices = pkgs.mbrola-voices.override {
# only ship with one voice per language
languages = [ "*1" ];
};
};
};
}; };
} }

View file

@ -47,7 +47,7 @@ let
); );
driverPaths = [ driverPaths = [
pkgs.addOpenGLRunpath.driverLink pkgs.addDriverRunpath.driverLink
# mesa: # mesa:
config.hardware.opengl.package config.hardware.opengl.package
@ -84,7 +84,7 @@ in
{ {
opengl.paths = config.hardware.opengl.extraPackages ++ [ opengl.paths = config.hardware.opengl.extraPackages ++ [
config.hardware.opengl.package config.hardware.opengl.package
pkgs.addOpenGLRunpath.driverLink pkgs.addDriverRunpath.driverLink
"/dev/dri" "/dev/dri"
]; ];
} }

View file

@ -0,0 +1,32 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.speechd;
inherit (lib)
getExe
mkEnableOption
mkIf
mkPackageOption
;
in
{
options.services.speechd = {
# FIXME: figure out how to deprecate this EXTREMELY CAREFULLY
# default guessed conservatively in ../misc/graphical-desktop.nix
enable = mkEnableOption "speech-dispatcher speech synthesizer daemon";
package = mkPackageOption pkgs "speechd" { };
};
# FIXME: speechd 0.12 (or whatever the next version is)
# will support socket activation, so switch to that once it's out.
config = mkIf cfg.enable {
environment = {
systemPackages = [ cfg.package ];
sessionVariables.SPEECHD_CMD = getExe cfg.package;
};
};
}

View file

@ -42,6 +42,8 @@ in
programs.gnupg.agent.pinentryPackage = lib.mkOverride 1100 pkgs.pinentry-gnome3; programs.gnupg.agent.pinentryPackage = lib.mkOverride 1100 pkgs.pinentry-gnome3;
services.speechd.enable = lib.mkDefault true;
systemd.defaultUnit = lib.mkIf (xcfg.autorun || dmcfg.enable) "graphical.target"; systemd.defaultUnit = lib.mkIf (xcfg.autorun || dmcfg.enable) "graphical.target";
xdg = { xdg = {

View file

@ -403,7 +403,7 @@ in
path = with pkgs; [ path = with pkgs; [
# unfree: # unfree:
# config.boot.kernelPackages.nvidiaPackages.latest.bin # config.boot.kernelPackages.nvidiaPackages.latest.bin
ffmpeg_5-headless ffmpeg-headless
libva-utils libva-utils
procps procps
radeontop radeontop

View file

@ -452,9 +452,9 @@ in {
extraPackages = mkOption { extraPackages = mkOption {
type = with types; listOf package; type = with types; listOf package;
default = with pkgs; [ exiftool ffmpeg_5-headless graphicsmagick-imagemagick-compat ]; default = with pkgs; [ exiftool ffmpeg-headless graphicsmagick-imagemagick-compat ];
defaultText = literalExpression "with pkgs; [ exiftool graphicsmagick-imagemagick-compat ffmpeg_5-headless ]"; defaultText = literalExpression "with pkgs; [ exiftool ffmpeg-headless graphicsmagick-imagemagick-compat ]";
example = literalExpression "with pkgs; [ exiftool imagemagick ffmpeg_5-full ]"; example = literalExpression "with pkgs; [ exiftool ffmpeg-full imagemagick ]";
description = '' description = ''
List of extra packages to include in the executable search path of the service unit. List of extra packages to include in the executable search path of the service unit.
These are needed by various configurable components such as: These are needed by various configurable components such as:

View file

@ -18,12 +18,16 @@ let
"ManageForeignRoutes" "ManageForeignRoutes"
"RouteTable" "RouteTable"
"IPv6PrivacyExtensions" "IPv6PrivacyExtensions"
"IPv4Forwarding"
"IPv6Forwarding"
]) ])
(assertValueOneOf "SpeedMeter" boolValues) (assertValueOneOf "SpeedMeter" boolValues)
(assertInt "SpeedMeterIntervalSec") (assertInt "SpeedMeterIntervalSec")
(assertValueOneOf "ManageForeignRoutingPolicyRules" boolValues) (assertValueOneOf "ManageForeignRoutingPolicyRules" boolValues)
(assertValueOneOf "ManageForeignRoutes" boolValues) (assertValueOneOf "ManageForeignRoutes" boolValues)
(assertValueOneOf "IPv6PrivacyExtensions" (boolValues ++ ["prefer-public" "kernel"])) (assertValueOneOf "IPv6PrivacyExtensions" (boolValues ++ ["prefer-public" "kernel"]))
(assertValueOneOf "IPv4Forwarding" boolValues)
(assertValueOneOf "IPv6Forwarding" boolValues)
]; ];
sectionDHCPv4 = checkUnitConfig "DHCPv4" [ sectionDHCPv4 = checkUnitConfig "DHCPv4" [
@ -652,6 +656,8 @@ let
"DNSDefaultRoute" "DNSDefaultRoute"
"NTP" "NTP"
"IPForward" "IPForward"
"IPv4Forwarding"
"IPv6Forwarding"
"IPMasquerade" "IPMasquerade"
"IPv6PrivacyExtensions" "IPv6PrivacyExtensions"
"IPv6AcceptRA" "IPv6AcceptRA"
@ -700,7 +706,9 @@ let
(assertValueOneOf "LLDP" (boolValues ++ ["routers-only"])) (assertValueOneOf "LLDP" (boolValues ++ ["routers-only"]))
(assertValueOneOf "EmitLLDP" (boolValues ++ ["nearest-bridge" "non-tpmr-bridge" "customer-bridge"])) (assertValueOneOf "EmitLLDP" (boolValues ++ ["nearest-bridge" "non-tpmr-bridge" "customer-bridge"]))
(assertValueOneOf "DNSDefaultRoute" boolValues) (assertValueOneOf "DNSDefaultRoute" boolValues)
(assertValueOneOf "IPForward" (boolValues ++ ["ipv4" "ipv6"])) (assertRemoved "IPForward" "IPv4Forwarding and IPv6Forwarding in systemd.network(5) and networkd.conf(5)")
(assertValueOneOf "IPv4Forwarding" boolValues)
(assertValueOneOf "IPv6Forwarding" boolValues)
(assertValueOneOf "IPMasquerade" (boolValues ++ ["ipv4" "ipv6" "both"])) (assertValueOneOf "IPMasquerade" (boolValues ++ ["ipv4" "ipv6" "both"]))
(assertValueOneOf "IPv6PrivacyExtensions" (boolValues ++ ["prefer-public" "kernel"])) (assertValueOneOf "IPv6PrivacyExtensions" (boolValues ++ ["prefer-public" "kernel"]))
(assertValueOneOf "IPv6AcceptRA" boolValues) (assertValueOneOf "IPv6AcceptRA" boolValues)
@ -2835,6 +2843,7 @@ let
"systemd-networkd-wait-online.service" "systemd-networkd-wait-online.service"
"systemd-networkd.service" "systemd-networkd.service"
"systemd-networkd.socket" "systemd-networkd.socket"
"systemd-networkd-persistent-storage.service"
]; ];
environment.etc."systemd/networkd.conf" = renderConfig cfg.config; environment.etc."systemd/networkd.conf" = renderConfig cfg.config;

View file

@ -131,6 +131,7 @@ let
# Copy udev. # Copy udev.
copy_bin_and_libs ${udev}/bin/udevadm copy_bin_and_libs ${udev}/bin/udevadm
cp ${lib.getLib udev.kmod}/lib/libkmod.so* $out/lib
copy_bin_and_libs ${udev}/lib/systemd/systemd-sysctl copy_bin_and_libs ${udev}/lib/systemd/systemd-sysctl
for BIN in ${udev}/lib/udev/*_id; do for BIN in ${udev}/lib/udev/*_id; do
copy_bin_and_libs $BIN copy_bin_and_libs $BIN

View file

@ -37,6 +37,8 @@ let
"cryptsetup.target" "cryptsetup.target"
"cryptsetup-pre.target" "cryptsetup-pre.target"
"remote-cryptsetup.target" "remote-cryptsetup.target"
] ++ optionals cfg.package.withTpm2Tss [
"tpm2.target"
] ++ [ ] ++ [
"sigpwr.target" "sigpwr.target"
"timers.target" "timers.target"
@ -116,6 +118,7 @@ let
"sleep.target" "sleep.target"
"hybrid-sleep.target" "hybrid-sleep.target"
"systemd-hibernate.service" "systemd-hibernate.service"
"systemd-hibernate-clear.service"
"systemd-hybrid-sleep.service" "systemd-hybrid-sleep.service"
"systemd-suspend.service" "systemd-suspend.service"
"systemd-suspend-then-hibernate.service" "systemd-suspend-then-hibernate.service"
@ -140,6 +143,16 @@ let
"systemd-ask-password-wall.path" "systemd-ask-password-wall.path"
"systemd-ask-password-wall.service" "systemd-ask-password-wall.service"
# Varlink APIs
"systemd-bootctl@.service"
"systemd-bootctl.socket"
"systemd-creds@.service"
"systemd-creds.socket"
] ++ lib.optional cfg.package.withTpm2Tss [
"systemd-pcrlock@.service"
"systemd-pcrlock.socket"
] ++ [
# Slices / containers. # Slices / containers.
"slices.target" "slices.target"
] ++ optionals cfg.package.withImportd [ ] ++ optionals cfg.package.withImportd [
@ -162,6 +175,7 @@ let
] ++ optionals cfg.package.withHostnamed [ ] ++ optionals cfg.package.withHostnamed [
"dbus-org.freedesktop.hostname1.service" "dbus-org.freedesktop.hostname1.service"
"systemd-hostnamed.service" "systemd-hostnamed.service"
"systemd-hostnamed.socket"
] ++ optionals cfg.package.withPortabled [ ] ++ optionals cfg.package.withPortabled [
"dbus-org.freedesktop.portable1.service" "dbus-org.freedesktop.portable1.service"
"systemd-portabled.service" "systemd-portabled.service"

View file

@ -70,6 +70,7 @@ let
"systemd-tmpfiles-setup-dev.service" "systemd-tmpfiles-setup-dev.service"
"systemd-tmpfiles-setup.service" "systemd-tmpfiles-setup.service"
"timers.target" "timers.target"
"tpm2.target"
"umount.target" "umount.target"
"systemd-bsod.service" "systemd-bsod.service"
] ++ cfg.additionalUpstreamUnits; ] ++ cfg.additionalUpstreamUnits;
@ -111,8 +112,7 @@ let
inherit (config.boot.initrd) compressor compressorArgs prepend; inherit (config.boot.initrd) compressor compressorArgs prepend;
inherit (cfg) strip; inherit (cfg) strip;
contents = map (path: { object = path; symlink = ""; }) (subtractLists cfg.suppressedStorePaths cfg.storePaths) contents = lib.filter ({ source, ... }: !lib.elem source cfg.suppressedStorePaths) cfg.storePaths;
++ mapAttrsToList (_: v: { object = v.source; symlink = v.target; }) (filterAttrs (_: v: v.enable) cfg.contents);
}; };
in { in {
@ -171,7 +171,7 @@ in {
description = '' description = ''
Store paths to copy into the initrd as well. Store paths to copy into the initrd as well.
''; '';
type = with types; listOf (oneOf [ singleLineStr package ]); type = utils.systemdUtils.types.initrdStorePath;
default = []; default = [];
}; };
@ -344,7 +344,8 @@ in {
}; };
enableTpm2 = mkOption { enableTpm2 = mkOption {
default = true; default = cfg.package.withTpm2Tss;
defaultText = "boot.initrd.systemd.package.withTpm2Tss";
type = types.bool; type = types.bool;
description = '' description = ''
Whether to enable TPM2 support in the initrd. Whether to enable TPM2 support in the initrd.
@ -460,6 +461,7 @@ in {
"${cfg.package}/lib/systemd/systemd-sulogin-shell" "${cfg.package}/lib/systemd/systemd-sulogin-shell"
"${cfg.package}/lib/systemd/systemd-sysctl" "${cfg.package}/lib/systemd/systemd-sysctl"
"${cfg.package}/lib/systemd/systemd-bsod" "${cfg.package}/lib/systemd/systemd-bsod"
"${cfg.package}/lib/systemd/systemd-sysroot-fstab-check"
# generators # generators
"${cfg.package}/lib/systemd/system-generators/systemd-debug-generator" "${cfg.package}/lib/systemd/system-generators/systemd-debug-generator"
@ -486,7 +488,8 @@ in {
# fido2 support # fido2 support
"${cfg.package}/lib/cryptsetup/libcryptsetup-token-systemd-fido2.so" "${cfg.package}/lib/cryptsetup/libcryptsetup-token-systemd-fido2.so"
"${pkgs.libfido2}/lib/libfido2.so.1" "${pkgs.libfido2}/lib/libfido2.so.1"
] ++ jobScripts; ] ++ jobScripts
++ map (c: builtins.removeAttrs c ["text"]) (builtins.attrValues cfg.contents);
targets.initrd.aliases = ["default.target"]; targets.initrd.aliases = ["default.target"];
units = units =

View file

@ -96,6 +96,7 @@ in {
"systemd-journald@.service" "systemd-journald@.service"
"systemd-journal-flush.service" "systemd-journal-flush.service"
"systemd-journal-catalog-update.service" "systemd-journal-catalog-update.service"
"systemd-journald-sync@.service"
] ++ (optional (!config.boot.isContainer) "systemd-journald-audit.socket") ++ [ ] ++ (optional (!config.boot.isContainer) "systemd-journald-audit.socket") ++ [
"systemd-journald-dev-log.socket" "systemd-journald-dev-log.socket"
"syslog.socket" "syslog.socket"

View file

@ -2,10 +2,7 @@
cfg = config.systemd.shutdownRamfs; cfg = config.systemd.shutdownRamfs;
ramfsContents = let ramfsContents = pkgs.writeText "shutdown-ramfs-contents.json" (builtins.toJSON cfg.storePaths);
storePaths = map (p: "${p}\n") cfg.storePaths;
contents = lib.mapAttrsToList (_: v: "${v.source}\n${v.target}") (lib.filterAttrs (_: v: v.enable) cfg.contents);
in pkgs.writeText "shutdown-ramfs-contents" (lib.concatStringsSep "\n" (storePaths ++ contents));
in { in {
options.systemd.shutdownRamfs = { options.systemd.shutdownRamfs = {
@ -24,7 +21,7 @@ in {
description = '' description = ''
Store paths to copy into the shutdown ramfs as well. Store paths to copy into the shutdown ramfs as well.
''; '';
type = lib.types.listOf lib.types.singleLineStr; type = utils.systemdUtils.types.initrdStorePath;
default = []; default = [];
}; };
}; };
@ -35,7 +32,8 @@ in {
"/etc/initrd-release".source = config.environment.etc.os-release.source; "/etc/initrd-release".source = config.environment.etc.os-release.source;
"/etc/os-release".source = config.environment.etc.os-release.source; "/etc/os-release".source = config.environment.etc.os-release.source;
}; };
systemd.shutdownRamfs.storePaths = [pkgs.runtimeShell "${pkgs.coreutils}/bin"]; systemd.shutdownRamfs.storePaths = [pkgs.runtimeShell "${pkgs.coreutils}/bin"]
++ map (c: builtins.removeAttrs c ["text"]) (builtins.attrValues cfg.contents);
systemd.mounts = [{ systemd.mounts = [{
what = "tmpfs"; what = "tmpfs";

View file

@ -44,7 +44,8 @@ in
enable = true; enable = true;
networks."rosenpass" = { networks."rosenpass" = {
matchConfig.Name = deviceName; matchConfig.Name = deviceName;
networkConfig.IPForward = true; networkConfig.IPv4Forwarding = true;
networkConfig.IPv6Forwarding = true;
address = [ "${peer.ip}/64" ]; address = [ "${peer.ip}/64" ];
}; };

View file

@ -235,8 +235,10 @@ rec {
""" """
) )
output = machine.succeed("/run/current-system/bin/switch-to-configuration boot") output = machine.succeed("/run/current-system/bin/switch-to-configuration boot 2>&1")
assert "updating systemd-boot from 000.0-1-notnixos to " in output, "Couldn't find systemd-boot update message" assert "updating systemd-boot from 000.0-1-notnixos to " in output, "Couldn't find systemd-boot update message"
assert 'to "/boot/EFI/systemd/systemd-bootx64.efi"' in output, "systemd-boot not copied to to /boot/EFI/systemd/systemd-bootx64.efi"
assert 'to "/boot/EFI/BOOT/BOOTX64.EFI"' in output, "systemd-boot not copied to to /boot/EFI/BOOT/BOOTX64.EFI"
''; '';
}; };

View file

@ -24,8 +24,6 @@ import ./make-test-python.nix ({ lib, ... }: {
"01-eth1" = { "01-eth1" = {
name = "eth1"; name = "eth1";
networkConfig = { networkConfig = {
# IPForward prevents dynamic address configuration
IPForward = true;
DHCPServer = true; DHCPServer = true;
Address = "10.0.0.1/24"; Address = "10.0.0.1/24";
}; };

View file

@ -40,7 +40,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
address = [ address = [
"2001:DB8::1/64" "2001:DB8::1/64"
]; ];
networkConfig.IPForward = true; networkConfig.IPv4Forwarding = true;
networkConfig.IPv6Forwarding = true;
}; };
}; };
}; };

View file

@ -16,7 +16,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: let
linkConfig.RequiredForOnline = "no"; linkConfig.RequiredForOnline = "no";
networkConfig = { networkConfig = {
Address = "192.168.${toString vlan}.${toString id}/24"; Address = "192.168.${toString vlan}.${toString id}/24";
IPForward = "yes"; IPv4Forwarding = "yes";
IPv6Forwarding = "yes";
}; };
}; };
}; };
@ -57,14 +58,16 @@ in {
networks."10-vrf1" = { networks."10-vrf1" = {
matchConfig.Name = "vrf1"; matchConfig.Name = "vrf1";
networkConfig.IPForward = "yes"; networkConfig.IPv4Forwarding = "yes";
networkConfig.IPv6Forwarding = "yes";
routes = [ routes = [
{ Destination = "192.168.1.2"; Metric = 100; } { Destination = "192.168.1.2"; Metric = 100; }
]; ];
}; };
networks."10-vrf2" = { networks."10-vrf2" = {
matchConfig.Name = "vrf2"; matchConfig.Name = "vrf2";
networkConfig.IPForward = "yes"; networkConfig.IPv4Forwarding = "yes";
networkConfig.IPv6Forwarding = "yes";
routes = [ routes = [
{ Destination = "192.168.2.3"; Metric = 100; } { Destination = "192.168.2.3"; Metric = 100; }
]; ];
@ -76,7 +79,8 @@ in {
networkConfig = { networkConfig = {
VRF = "vrf1"; VRF = "vrf1";
Address = "192.168.1.1/24"; Address = "192.168.1.1/24";
IPForward = "yes"; IPv4Forwarding = "yes";
IPv6Forwarding = "yes";
}; };
}; };
networks."10-eth2" = { networks."10-eth2" = {
@ -85,7 +89,8 @@ in {
networkConfig = { networkConfig = {
VRF = "vrf2"; VRF = "vrf2";
Address = "192.168.2.1/24"; Address = "192.168.2.1/24";
IPForward = "yes"; IPv4Forwarding = "yes";
IPv6Forwarding = "yes";
}; };
}; };
}; };

View file

@ -204,8 +204,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
assert "0B read, 0B written" not in output assert "0B read, 0B written" not in output
with subtest("systemd per-unit accounting works"): with subtest("systemd per-unit accounting works"):
assert "IP traffic received: 84B" in output_ping assert "IP traffic received: 84B sent: 84B" in output_ping
assert "IP traffic sent: 84B" in output_ping
with subtest("systemd environment is properly set"): with subtest("systemd environment is properly set"):
machine.systemctl("daemon-reexec") # Rewrites /proc/1/environ machine.systemctl("daemon-reexec") # Rewrites /proc/1/environ

View file

@ -15,7 +15,7 @@
, libxslt , libxslt
, libxml2 , libxml2
, speechSupport ? true , speechSupport ? true
, speechd , speechd-minimal
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -56,7 +56,7 @@ stdenv.mkDerivation {
# at-spi2 needs dbus to be recognized by pkg-config # at-spi2 needs dbus to be recognized by pkg-config
at-spi2-core at-spi2-core
dbus dbus
] ++ lib.optional speechSupport speechd; ] ++ lib.optional speechSupport speechd-minimal;
enableParallelBuilding = true; enableParallelBuilding = true;

View file

@ -34,7 +34,6 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
# needs special setup on Linux, dunno if it can work on Darwin # needs special setup on Linux, dunno if it can work on Darwin
# https://github.com/NixOS/nixpkgs/issues/19098
sed -i -e '/juce::juce_recommended_lto_flags/d' Source/CMakeLists.txt sed -i -e '/juce::juce_recommended_lto_flags/d' Source/CMakeLists.txt
''; '';

View file

@ -49,7 +49,6 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
# 1. Remove hardcoded LTO flags: needs extra setup on Linux, # 1. Remove hardcoded LTO flags: needs extra setup on Linux,
# possibly broken on Darwin # possibly broken on Darwin
# https://github.com/NixOS/nixpkgs/issues/19098
# 2. Disable automatic copying of built plugins during buildPhase, it defaults # 2. Disable automatic copying of built plugins during buildPhase, it defaults
# into user home and we want to have building & installing separated. # into user home and we want to have building & installing separated.
sed -i \ sed -i \

View file

@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-DtF6asSlLdC2m/0JTBo4YUx9HgsojpfiqVdqaIwniKA="; sha256 = "sha256-DtF6asSlLdC2m/0JTBo4YUx9HgsojpfiqVdqaIwniKA=";
}; };
cargoSha256 = "sha256-tbDlWP0sUIa0W9HhdYNOvo9cGeqFemclhA7quh7f/Rw="; cargoHash = "sha256-tbDlWP0sUIa0W9HhdYNOvo9cGeqFemclhA7quh7f/Rw=";
nativeBuildInputs = [ pkg-config makeWrapper ] ++ lib.optionals stdenv.isDarwin [ nativeBuildInputs = [ pkg-config makeWrapper ] ++ lib.optionals stdenv.isDarwin [
rustPlatform.bindgenHook rustPlatform.bindgenHook

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, runCommandLocal }: { stdenv, lib, fetchFromGitHub, runCommandLocal, mbrola-voices }:
let let
pname = "mbrola"; pname = "mbrola";
@ -12,20 +12,6 @@ let
homepage = "https://github.com/numediart/MBROLA"; homepage = "https://github.com/numediart/MBROLA";
}; };
# Very big (0.65 G) so kept as a fixed-output derivation to limit "duplicates".
voices = fetchFromGitHub {
owner = "numediart";
repo = "MBROLA-voices";
rev = "fe05a0ccef6a941207fd6aaad0b31294a1f93a51"; # using latest commit
sha256 = "1w0y2xjp9rndwdjagp2wxh656mdm3d6w9cs411g27rjyfy1205a0";
name = "${pname}-voices-${version}";
meta = meta // {
description = "Speech synthesizer based on the concatenation of diphones (voice files)";
homepage = "https://github.com/numediart/MBROLA-voices";
};
};
bin = stdenv.mkDerivation { bin = stdenv.mkDerivation {
pname = "${pname}-bin"; pname = "${pname}-bin";
inherit version; inherit version;
@ -60,7 +46,7 @@ in
} }
'' ''
mkdir -p "$out/share/mbrola" mkdir -p "$out/share/mbrola"
ln -s '${voices}/data' "$out/share/mbrola/voices" ln -s '${mbrola-voices}/data' "$out/share/mbrola/voices"
ln -s '${bin}/bin' "$out/" ln -s '${bin}/bin' "$out/"
'' ''

View file

@ -0,0 +1,51 @@
{
lib,
stdenv,
fetchFromGitHub,
unstableGitUpdater,
mbrola,
languages ? [ ],
}:
let
src = fetchFromGitHub {
owner = "numediart";
repo = "MBROLA-voices";
rev = "fe05a0ccef6a941207fd6aaad0b31294a1f93a51";
hash = "sha256-QBUggnde5iNeCESzxE0btVVTDOxc3Kdk483mdGUXHvA=";
};
meta = {
description = "Speech synthesizer based on the concatenation of diphones (voice files)";
homepage = "https://github.com/numediart/MBROLA-voices";
license = mbrola.meta.license;
};
in
if (languages == [ ]) then
src // { inherit meta; }
else
stdenv.mkDerivation {
pname = "mbrola-voices";
version = "0-unstable-2020-03-30";
inherit src;
postPatch = ''
shopt -s extglob
pushd data
rm -rfv !(${lib.concatStringsSep "|" languages})
popd
'';
installPhase = ''
runHook preInstall
mkdir $out
cp -R data $out/
runHook postInstall
'';
inherit meta;
}

View file

@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-gs6uytX4rm2JrJ4UbtHJDg+b+Z1ZjcsuUR0b13jQIy4="; sha256 = "sha256-gs6uytX4rm2JrJ4UbtHJDg+b+Z1ZjcsuUR0b13jQIy4=";
}; };
cargoSha256 = "sha256-7zV/AsSZHk99ROC1301nkwJ22dvh4afeCI//G1zWHu8="; cargoHash = "sha256-7zV/AsSZHk99ROC1301nkwJ22dvh4afeCI//G1zWHu8=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View file

@ -99,11 +99,6 @@ in stdenv.mkDerivation rec {
) )
''; '';
# Meson is no longer able to pick up Boost automatically.
# https://github.com/NixOS/nixpkgs/issues/86131
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
meta = with lib; { meta = with lib; {
description = "Limiter, compressor, reverberation, equalizer and auto volume effects for Pulseaudio applications"; description = "Limiter, compressor, reverberation, equalizer and auto volume effects for Pulseaudio applications";
mainProgram = "pulseeffects"; mainProgram = "pulseeffects";

View file

@ -7,7 +7,7 @@
, glibmm , glibmm
, libpulseaudio , libpulseaudio
, libao , libao
, speechd , speechd-minimal
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
glibmm glibmm
libpulseaudio libpulseaudio
libao libao
speechd speechd-minimal
]; ];
meta = { meta = {

View file

@ -61,7 +61,6 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = lib.optionalString (stdenv.isLinux) '' postPatch = lib.optionalString (stdenv.isLinux) ''
# needs special setup on Linux, dunno if it can work on Darwin # needs special setup on Linux, dunno if it can work on Darwin
# https://github.com/NixOS/nixpkgs/issues/19098
# Also, I get issues with linking without that, not sure why # Also, I get issues with linking without that, not sure why
sed -i -e '/juce::juce_recommended_lto_flags/d' CMakeLists.txt sed -i -e '/juce::juce_recommended_lto_flags/d' CMakeLists.txt
patchShebangs linux/install.sh patchShebangs linux/install.sh

View file

@ -29,7 +29,7 @@
, expat , expat
, libid3tag , libid3tag
, libopus , libopus
, ffmpeg_5 , ffmpeg
, soundtouch , soundtouch
, pcre , pcre
, portaudio , portaudio
@ -104,7 +104,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
alsa-lib alsa-lib
expat expat
ffmpeg_5 ffmpeg
file file
flac flac
glib glib

View file

@ -1,5 +1,6 @@
{ lib { lib
, stdenv , stdenv
, cctools
, darwin , darwin
, fetchurl , fetchurl
, autoconf , autoconf
@ -30,11 +31,11 @@ stdenv.mkDerivation rec {
hash = "sha256-FD7JFM80wrruqBWjYnJHZh2f2GZJ6XDQmUQ0XetnWBg="; hash = "sha256-FD7JFM80wrruqBWjYnJHZh2f2GZJ6XDQmUQ0XetnWBg=";
}; };
# when building on darwin we need dawin.cctools to provide the correct libtool # when building on darwin we need cctools to provide the correct libtool
# as libwally-core detects the host as darwin and tries to add the -static # as libwally-core detects the host as darwin and tries to add the -static
# option to libtool, also we have to add the modified gsed package. # option to libtool, also we have to add the modified gsed package.
nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown protobuf py3 unzip which ] nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown protobuf py3 unzip which ]
++ lib.optionals stdenv.isDarwin [ darwin.cctools darwin.autoSignDarwinBinariesHook ]; ++ lib.optionals stdenv.isDarwin [ cctools darwin.autoSignDarwinBinariesHook ];
buildInputs = [ gmp libsodium sqlite zlib jq ]; buildInputs = [ gmp libsodium sqlite zlib jq ];

View file

@ -18,12 +18,8 @@ stdenv.mkDerivation rec {
postPatch = lib.optionalString stdenv.isDarwin '' postPatch = lib.optionalString stdenv.isDarwin ''
# Replace hardcoded g++ with c++ so clang can be used # Replace hardcoded g++ with c++ so clang can be used
# on darwin # on darwin
#
# lto must be disabled on darwin as well due to
# https://github.com/NixOS/nixpkgs/issues/19098
substituteInPlace Makefile \ substituteInPlace Makefile \
--replace-fail 'g++' 'c++' \ --replace-fail 'g++' 'c++'
--replace-fail '-flto' ""
''; '';
installPhase = '' installPhase = ''

View file

@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-e0YtpakEaaWdgu+bMr2VFoUc6+SUMFk4hYtSyk5aApY="; sha256 = "sha256-e0YtpakEaaWdgu+bMr2VFoUc6+SUMFk4hYtSyk5aApY=";
}; };
cargoSha256 = "sha256-RkJjAmZ++4nc/lLh8g0LxGq2DjZGxQEjFOl8Yzx116A="; cargoHash = "sha256-RkJjAmZ++4nc/lLh8g0LxGq2DjZGxQEjFOl8Yzx116A=";
meta = { meta = {
description = "Graphical console greeter for greetd"; description = "Graphical console greeter for greetd";

View file

@ -1,14 +0,0 @@
{ lib, pkgs }:
lib.makeScope pkgs.newScope (self:
let
inherit (self) callPackage;
in {
sources = import ./sources.nix {
inherit lib;
inherit (pkgs) fetchurl;
};
ed = callPackage (self.sources.ed) { };
edUnstable = callPackage (self.sources.edUnstable) { };
})

View file

@ -1,32 +0,0 @@
{ pname
, version
, src
, patches ? [ ]
, meta
}:
# Note: this package is used for bootstrapping fetchurl, and thus cannot use
# fetchpatch! All mutable patches (generated by GitHub or cgit) that are needed
# here should be included directly in Nixpkgs as files.
{ lib
, stdenv
, fetchurl
, lzip
, runtimeShellPackage
}:
stdenv.mkDerivation {
inherit pname version src patches;
nativeBuildInputs = [ lzip ];
buildInputs = [ runtimeShellPackage ];
configureFlags = [
"CC=${stdenv.cc.targetPrefix}cc"
];
doCheck = true;
inherit meta;
}

View file

@ -1,45 +0,0 @@
{ lib
, fetchurl
}:
let
meta = {
description = "GNU implementation of the standard Unix editor";
longDescription = ''
GNU ed is a line-oriented text editor. It is used to create, display,
modify and otherwise manipulate text files, both interactively and via
shell scripts. A restricted version of ed, red, can only edit files in the
current directory and cannot execute shell commands. Ed is the 'standard'
text editor in the sense that it is the original editor for Unix, and thus
widely available. For most purposes, however, it is superseded by
full-screen editors such as GNU Emacs or GNU Moe.
'';
license = lib.licenses.gpl3Plus;
homepage = "https://www.gnu.org/software/ed/";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;
};
in
{
ed = let
pname = "ed";
version = "1.20.2";
src = fetchurl {
url = "mirror://gnu/ed/ed-${version}.tar.lz";
hash = "sha256-Zf7HMY9IwsoX8zSsD0cD3v5iA3uxPMI5IN4He1+iRSM=";
};
in import ./generic.nix {
inherit pname version src meta;
};
edUnstable = let
pname = "ed";
version = "1.20-pre2";
src = fetchurl {
url = "http://download.savannah.gnu.org/releases/ed/ed-${version}.tar.lz";
hash = "sha256-bHTDeMhVNNo3qqDNoBNaBA+DHDa4WJpfQNcTvAUPgsY=";
};
in import ./generic.nix {
inherit pname version src meta;
};
}

View file

@ -31,6 +31,8 @@ in
, propagatedUserEnvPkgs ? [] , propagatedUserEnvPkgs ? []
, postInstall ? "" , postInstall ? ""
, meta ? {} , meta ? {}
, turnCompilationWarningToError ? false
, ignoreCompilationError ? true
, ... , ...
}@args: }@args:
@ -77,6 +79,8 @@ stdenv.mkDerivation (finalAttrs: ({
addEmacsNativeLoadPath = true; addEmacsNativeLoadPath = true;
inherit turnCompilationWarningToError ignoreCompilationError;
postInstall = '' postInstall = ''
# Besides adding the output directory to the native load path, make sure # Besides adding the output directory to the native load path, make sure
# the current package's elisp files are in the load path, otherwise # the current package's elisp files are in the load path, otherwise
@ -86,8 +90,13 @@ stdenv.mkDerivation (finalAttrs: ({
addEmacsVars "$out" addEmacsVars "$out"
find $out/share/emacs -type f -name '*.el' -print0 \ find $out/share/emacs -type f -name '*.el' -print0 \
| xargs -0 -I {} -n 1 -P $NIX_BUILD_CORES sh -c \ | xargs --verbose -0 -I {} -n 1 -P $NIX_BUILD_CORES sh -c \
"emacs --batch --eval '(setq large-file-warning-threshold nil)' -f batch-native-compile {} || true" "emacs \
--batch \
--eval '(setq large-file-warning-threshold nil)' \
--eval '(setq byte-compile-error-on-warn ${if finalAttrs.turnCompilationWarningToError then "t" else "nil"})' \
-f batch-native-compile {} \
|| exit ${if finalAttrs.ignoreCompilationError then "0" else "\\$?"}"
'' + postInstall; '' + postInstall;
} }

View file

@ -64,26 +64,6 @@ self: let
''; '';
}); });
org = super.org.overrideAttrs (old: {
dontUnpack = false;
patches = old.patches or [ ] ++ lib.optionals (lib.versionOlder old.version "9.7.5") [
# security fix backported from 9.7.5
(pkgs.fetchpatch {
url = "https://git.savannah.gnu.org/cgit/emacs/org-mode.git/patch/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8";
hash = "sha256-bGgsnTSn6SMu1J8P2BfJjrKx2845FCsUB2okcIrEjDg=";
stripLen = 1;
})
];
postPatch = old.postPatch or "" + "\n" + ''
pushd ..
local content_directory=${old.ename}-${old.version}
src=$PWD/$content_directory.tar
tar --create --verbose --file=$src $content_directory
popd
'';
dontBuild = true;
});
pq = super.pq.overrideAttrs (old: { pq = super.pq.overrideAttrs (old: {
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.postgresql ]; buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.postgresql ];
}); });

View file

@ -295,10 +295,10 @@
elpaBuild { elpaBuild {
pname = "auctex"; pname = "auctex";
ename = "auctex"; ename = "auctex";
version = "14.0.5"; version = "14.0.6";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/auctex-14.0.5.tar"; url = "https://elpa.gnu.org/packages/auctex-14.0.6.tar";
sha256 = "0sycj6ad5jazmsxq37hsnvbywkpj66lrw3d3mxqr1wqkb67cdd3k"; sha256 = "0cajri7x6770wjkrasa0p2s0dvcp74fpv1znac5wdfiwhvl1i9yr";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -306,6 +306,44 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
auctex-cont-latexmk = callPackage ({ auctex
, elpaBuild
, emacs
, fetchurl
, lib }:
elpaBuild {
pname = "auctex-cont-latexmk";
ename = "auctex-cont-latexmk";
version = "0.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/auctex-cont-latexmk-0.2.tar";
sha256 = "0ggyjxjqwpx3h1963i8w96m6kisc65ni9hksn2kjfjddnj1hx0hf";
};
packageRequires = [ auctex emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/auctex-cont-latexmk.html";
license = lib.licenses.free;
};
}) {};
auctex-label-numbers = callPackage ({ auctex
, elpaBuild
, emacs
, fetchurl
, lib }:
elpaBuild {
pname = "auctex-label-numbers";
ename = "auctex-label-numbers";
version = "0.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/auctex-label-numbers-0.2.tar";
sha256 = "1cd68yvpm061r9k4x6rvy3g2wdynv5gbjg2dyp06nkrgvakdb00x";
};
packageRequires = [ auctex emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/auctex-label-numbers.html";
license = lib.licenses.free;
};
}) {};
aumix-mode = callPackage ({ elpaBuild, fetchurl, lib }: aumix-mode = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "aumix-mode"; pname = "aumix-mode";
@ -824,10 +862,10 @@
elpaBuild { elpaBuild {
pname = "colorful-mode"; pname = "colorful-mode";
ename = "colorful-mode"; ename = "colorful-mode";
version = "1.0.0"; version = "1.0.4";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/colorful-mode-1.0.0.tar"; url = "https://elpa.gnu.org/packages/colorful-mode-1.0.4.tar";
sha256 = "1gmbrb5z3rmw0fjrdymfbcx74szcy963dx53ksykvfd9355azj3x"; sha256 = "0vy1rqv9aknns81v97j6dwr621hbs0489p7bhpg7k7qva39i97vs";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -937,10 +975,10 @@
elpaBuild { elpaBuild {
pname = "compat"; pname = "compat";
ename = "compat"; ename = "compat";
version = "29.1.4.5"; version = "30.0.0.0";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/compat-29.1.4.5.tar"; url = "https://elpa.gnu.org/packages/compat-30.0.0.0.tar";
sha256 = "0i57hs3ak5y0fsfdwg87ib64ny0ar1nk67f5dy2qrm8x3i0h086s"; sha256 = "0z7049xkdyx22ywq821d19lp73ywaz6brxj461h0h2a73y7999cl";
}; };
packageRequires = [ emacs seq ]; packageRequires = [ emacs seq ];
meta = { meta = {
@ -952,10 +990,10 @@
elpaBuild { elpaBuild {
pname = "consult"; pname = "consult";
ename = "consult"; ename = "consult";
version = "1.6"; version = "1.7";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/consult-1.6.tar"; url = "https://elpa.gnu.org/packages/consult-1.7.tar";
sha256 = "00wsv6dvlyf7ygi586pdyhgp7f5ic2qqyqjz3g2g8hmgya5javdb"; sha256 = "02ji5yxa92jj7chs6al5amjdag1waz2sngbbk45mgg9nv81b4d3c";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -972,10 +1010,10 @@
elpaBuild { elpaBuild {
pname = "consult-denote"; pname = "consult-denote";
ename = "consult-denote"; ename = "consult-denote";
version = "0.0.0"; version = "0.1.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/consult-denote-0.0.0.tar"; url = "https://elpa.gnu.org/packages/consult-denote-0.1.1.tar";
sha256 = "191qf8knrmimam98jv8kgrl6mfrnwpdmw160s5qw6wcik7j4z6kv"; sha256 = "0yhf9fifas87rs4wdapszbpx1xqyq44izjq7vzpyvdlh5a5fhhx1";
}; };
packageRequires = [ consult denote emacs ]; packageRequires = [ consult denote emacs ];
meta = { meta = {
@ -1036,10 +1074,10 @@
elpaBuild { elpaBuild {
pname = "corfu"; pname = "corfu";
ename = "corfu"; ename = "corfu";
version = "1.3"; version = "1.4";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/corfu-1.3.tar"; url = "https://elpa.gnu.org/packages/corfu-1.4.tar";
sha256 = "13y0dws1k4682v039ab6b0xxqlg7anknscqs20bmj8lfm2z48znx"; sha256 = "0jsxrs08zwbwb1mzn8a2ja3wr2w34cx8ca09l4fz05labv7p7i85";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -1156,10 +1194,10 @@
elpaBuild { elpaBuild {
pname = "csv-mode"; pname = "csv-mode";
ename = "csv-mode"; ename = "csv-mode";
version = "1.23"; version = "1.25";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/csv-mode-1.23.tar"; url = "https://elpa.gnu.org/packages/csv-mode-1.25.tar";
sha256 = "0b5qcxdp7y78mfgcvh9plfc0l5qbwsvrj1bswyimrzg210zhk4zm"; sha256 = "15yhhn742fqq7699i6jsimg3gpifrhhybiav1qwwzq4prmk9g984";
}; };
packageRequires = [ cl-lib emacs ]; packageRequires = [ cl-lib emacs ];
meta = { meta = {
@ -1201,10 +1239,10 @@
elpaBuild { elpaBuild {
pname = "dape"; pname = "dape";
ename = "dape"; ename = "dape";
version = "0.11.1"; version = "0.13.0";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/dape-0.11.1.tar"; url = "https://elpa.gnu.org/packages/dape-0.13.0.tar";
sha256 = "0i04wwklypzxh78gwd9zjxjm3lwi2sn7qpqnlgd6n8hhcigyzhp0"; sha256 = "1zzghp73yh1vl9vf3njkqyhh6vmmx6klnd9z37p62467bd19wr8a";
}; };
packageRequires = [ emacs jsonrpc ]; packageRequires = [ emacs jsonrpc ];
meta = { meta = {
@ -1291,10 +1329,10 @@
elpaBuild { elpaBuild {
pname = "denote"; pname = "denote";
ename = "denote"; ename = "denote";
version = "2.3.5"; version = "3.0.6";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/denote-2.3.5.tar"; url = "https://elpa.gnu.org/packages/denote-3.0.6.tar";
sha256 = "1l8nlr8q7c51j2f528a0568pa3ywfv8pr47fzpd6pk2scc0y372b"; sha256 = "1wq44r4j624hiwpyzkrrbk998321wzj7x45y9rwy4gpi8f6xi1nv";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -1537,10 +1575,10 @@
elpaBuild { elpaBuild {
pname = "do-at-point"; pname = "do-at-point";
ename = "do-at-point"; ename = "do-at-point";
version = "0.1.1"; version = "0.1.2";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/do-at-point-0.1.1.tar"; url = "https://elpa.gnu.org/packages/do-at-point-0.1.2.tar";
sha256 = "1lqnarb9jiig85j3dv37jsqkmmfbcwb52i2akimzf9r57pypiylk"; sha256 = "0kirhg78ra6311hx1f1kpqhpxjxxg61gnzsh9j6id10f92h6m5gz";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -1702,10 +1740,10 @@
elpaBuild { elpaBuild {
pname = "eev"; pname = "eev";
ename = "eev"; ename = "eev";
version = "20240513"; version = "20240710";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/eev-20240513.tar"; url = "https://elpa.gnu.org/packages/eev-20240710.tar";
sha256 = "133blp5696f2adxqny5kyylr6s3n3vixs0ak1n3i58sqb0krp2pj"; sha256 = "1mia27ilfg4zkkwvwy3m24ypgi1fm8k27rm77xwjpq87pb2wvr02";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -1827,16 +1865,22 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
ellama = callPackage ({ elpaBuild, emacs, fetchurl, lib, llm, spinner }: ellama = callPackage ({ compat
, elpaBuild
, emacs
, fetchurl
, lib
, llm
, spinner }:
elpaBuild { elpaBuild {
pname = "ellama"; pname = "ellama";
ename = "ellama"; ename = "ellama";
version = "0.9.4"; version = "0.11.9";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/ellama-0.9.4.tar"; url = "https://elpa.gnu.org/packages/ellama-0.11.9.tar";
sha256 = "12l8k7dwcdgndy0zbdgkhx94y46fkzwjrbwlgj9922zbk38nnz46"; sha256 = "0h41hsvz34v0gb9d7d8aw6phc7iyrpbs0r8djsz59yd0ijzbz12j";
}; };
packageRequires = [ emacs llm spinner ]; packageRequires = [ compat emacs llm spinner ];
meta = { meta = {
homepage = "https://elpa.gnu.org/packages/ellama.html"; homepage = "https://elpa.gnu.org/packages/ellama.html";
license = lib.licenses.free; license = lib.licenses.free;
@ -1907,10 +1951,10 @@
elpaBuild { elpaBuild {
pname = "ement"; pname = "ement";
ename = "ement"; ename = "ement";
version = "0.15"; version = "0.15.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/ement-0.15.tar"; url = "https://elpa.gnu.org/packages/ement-0.15.1.tar";
sha256 = "0mphkvmsmrfyr3prr5a2x6ijr27z96ixpaxs9871kn7f1x0brn5r"; sha256 = "1n1kxj5p6c6cnz6z54zayyb9lr6l54crfh5im2pbwpai1bk8lsld";
}; };
packageRequires = [ packageRequires = [
emacs emacs
@ -1936,10 +1980,10 @@
elpaBuild { elpaBuild {
pname = "emms"; pname = "emms";
ename = "emms"; ename = "emms";
version = "19"; version = "20.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/emms-19.tar"; url = "https://elpa.gnu.org/packages/emms-20.1.tar";
sha256 = "1k0hybw826f2hlw8m0aihkydlkdzjsgvrfibpsqrxxcn9d7zxwjd"; sha256 = "0h0v31f1q7k45k8s9kncvim3a7np7fgjz4qg9v8gjc5ag01dzwkx";
}; };
packageRequires = [ cl-lib nadvice seq ]; packageRequires = [ cl-lib nadvice seq ];
meta = { meta = {
@ -1996,10 +2040,10 @@
elpaBuild { elpaBuild {
pname = "erc"; pname = "erc";
ename = "erc"; ename = "erc";
version = "5.5"; version = "5.6";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/erc-5.5.tar"; url = "https://elpa.gnu.org/packages/erc-5.6.tar";
sha256 = "02649ijnpyalk0k1yq1dcinj92awhbnkia2x9sdb9xjk80xw1gqp"; sha256 = "16qyfsa2q297xcfjiacjms9v14kjwwrsp3m8kcs5s50aavzfvc1s";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -2119,16 +2163,16 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
exwm = callPackage ({ elpaBuild, fetchurl, lib, xelb }: exwm = callPackage ({ compat, elpaBuild, emacs, fetchurl, lib, xelb }:
elpaBuild { elpaBuild {
pname = "exwm"; pname = "exwm";
ename = "exwm"; ename = "exwm";
version = "0.28"; version = "0.31";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/exwm-0.28.tar"; url = "https://elpa.gnu.org/packages/exwm-0.31.tar";
sha256 = "11j1ciyrnzkbcb7ffgs670mxqd1xbxf41c6jwnwwqjfzmqhsm0m4"; sha256 = "1i1k8w641n2fd6xifl92pvvq0s0b820lq76d1cyc7iyaqs44w9qq";
}; };
packageRequires = [ xelb ]; packageRequires = [ compat emacs xelb ];
meta = { meta = {
homepage = "https://elpa.gnu.org/packages/exwm.html"; homepage = "https://elpa.gnu.org/packages/exwm.html";
license = lib.licenses.free; license = lib.licenses.free;
@ -2168,10 +2212,10 @@
elpaBuild { elpaBuild {
pname = "filechooser"; pname = "filechooser";
ename = "filechooser"; ename = "filechooser";
version = "0.2.0"; version = "0.2.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/filechooser-0.2.0.tar"; url = "https://elpa.gnu.org/packages/filechooser-0.2.1.tar";
sha256 = "1fjf8bmdrrrgbv4sgx4nry5pl8plg9kyzyfd038985v3dsqasi9q"; sha256 = "1q9yxq4c6lp1fllcd60mcj4bs0ia03i649jilknkcp7jmjihq07i";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -2477,10 +2521,10 @@
elpaBuild { elpaBuild {
pname = "gnu-elpa-keyring-update"; pname = "gnu-elpa-keyring-update";
ename = "gnu-elpa-keyring-update"; ename = "gnu-elpa-keyring-update";
version = "2022.12"; version = "2022.12.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/gnu-elpa-keyring-update-2022.12.tar"; url = "https://elpa.gnu.org/packages/gnu-elpa-keyring-update-2022.12.1.tar";
sha256 = "0pabqsfw0d9knfigpcsrwfw7qrf2vlg9h0i582212gsqd7snlnxb"; sha256 = "0yb81ly7y5262fpa0n96yngqmz1rgfwrpm0a6vqghdpr5x0c8z6n";
}; };
packageRequires = []; packageRequires = [];
meta = { meta = {
@ -2593,16 +2637,16 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
greader = callPackage ({ elpaBuild, emacs, fetchurl, lib }: greader = callPackage ({ compat, elpaBuild, emacs, fetchurl, lib, seq }:
elpaBuild { elpaBuild {
pname = "greader"; pname = "greader";
ename = "greader"; ename = "greader";
version = "0.9.20"; version = "0.11.13";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/greader-0.9.20.tar"; url = "https://elpa.gnu.org/packages/greader-0.11.13.tar";
sha256 = "11n88xmr2qa5as5kpy4yy616nlh08nw5rkcbgmf9skgka3g1hmip"; sha256 = "0kyfws0b5dahf96b9wx06hmx0a0qsmywx6bay6xl6a5a4lchszsn";
}; };
packageRequires = [ emacs ]; packageRequires = [ compat emacs seq ];
meta = { meta = {
homepage = "https://elpa.gnu.org/packages/greader.html"; homepage = "https://elpa.gnu.org/packages/greader.html";
license = lib.licenses.free; license = lib.licenses.free;
@ -2627,10 +2671,10 @@
elpaBuild { elpaBuild {
pname = "gtags-mode"; pname = "gtags-mode";
ename = "gtags-mode"; ename = "gtags-mode";
version = "1.6"; version = "1.8";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/gtags-mode-1.6.tar"; url = "https://elpa.gnu.org/packages/gtags-mode-1.8.tar";
sha256 = "1r3ih44kzkrx9bmfl8ri2yv90b7g4nhb0vvdnz1ba3f44x15ppjx"; sha256 = "1rd0a3q45b5i46hi8snf25cyv65b7699ghbz8c6hrr4991h3ksll";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -2780,6 +2824,21 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
idlwave = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "idlwave";
ename = "idlwave";
version = "6.5.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/idlwave-6.5.1.tar";
sha256 = "0dd0dm92qyin8k4kgavrg82zwjhv6wsjq6gk55rzcspx0s8y2c24";
};
packageRequires = [];
meta = {
homepage = "https://elpa.gnu.org/packages/idlwave.html";
license = lib.licenses.free;
};
}) {};
ilist = callPackage ({ elpaBuild, fetchurl, lib }: ilist = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "ilist"; pname = "ilist";
@ -2999,10 +3058,10 @@
elpaBuild { elpaBuild {
pname = "jinx"; pname = "jinx";
ename = "jinx"; ename = "jinx";
version = "1.7"; version = "1.9";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/jinx-1.7.tar"; url = "https://elpa.gnu.org/packages/jinx-1.9.tar";
sha256 = "13snfsrwdbn23fdwpk42xp24x8bskl8sgsbq51nr896smjp2x3b4"; sha256 = "0k6km295y5w13kl18v9b6y0szdccf89nbar3zkdincy4iid5z6n1";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -3281,14 +3340,29 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
literate-scratch = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "literate-scratch";
ename = "literate-scratch";
version = "1.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/literate-scratch-1.0.tar";
sha256 = "1rby70wfj6g0p4hc6xqzwgqj2g8780qm5mnjn95bl2wrvdi0ds6n";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/literate-scratch.html";
license = lib.licenses.free;
};
}) {};
llm = callPackage ({ elpaBuild, emacs, fetchurl, lib, plz }: llm = callPackage ({ elpaBuild, emacs, fetchurl, lib, plz }:
elpaBuild { elpaBuild {
pname = "llm"; pname = "llm";
ename = "llm"; ename = "llm";
version = "0.15.0"; version = "0.16.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/llm-0.15.0.tar"; url = "https://elpa.gnu.org/packages/llm-0.16.1.tar";
sha256 = "1y3gs8zsng87wmlkx5az396hci4xyn0ww7cbaavisqbrxam51qvj"; sha256 = "1fqn4fdxhazpmlh8pf6ihnh132zjqrixry3kyymsmwang6vh2y7s";
}; };
packageRequires = [ emacs plz ]; packageRequires = [ emacs plz ];
meta = { meta = {
@ -3360,10 +3434,10 @@
elpaBuild { elpaBuild {
pname = "loccur"; pname = "loccur";
ename = "loccur"; ename = "loccur";
version = "1.2.4"; version = "1.2.5";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/loccur-1.2.4.tar"; url = "https://elpa.gnu.org/packages/loccur-1.2.5.tar";
sha256 = "1b8rmbl03k8fdy217ngbxsc0a3jxxmqnwshf72f4iay8ln4hasgk"; sha256 = "0dp7nhafx5x0aw4svd826bqsrn6qk46w12p04w7khpk7d9768a8x";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -3645,10 +3719,10 @@
elpaBuild { elpaBuild {
pname = "mpdired"; pname = "mpdired";
ename = "mpdired"; ename = "mpdired";
version = "1"; version = "2";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/mpdired-1.tar"; url = "https://elpa.gnu.org/packages/mpdired-2.tar";
sha256 = "08lc0j25kxisykd2l9v4iamalmm5hzsnsm026v808krny28wwbp3"; sha256 = "0synpanyqka8nyz9mma69na307vm5pjvn21znbdvz56gka2mbg23";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -4039,10 +4113,10 @@
elpaBuild { elpaBuild {
pname = "org"; pname = "org";
ename = "org"; ename = "org";
version = "9.6.30"; version = "9.7.6";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/org-9.6.30.tar"; url = "https://elpa.gnu.org/packages/org-9.7.6.tar";
sha256 = "0h2p7gjiys5ch68y35l6bpw9pp852vprmfzi0dk86z1wkilhycip"; sha256 = "0pxjc2bydnzd31wg71nfh7zzf3mhsnzm2nd7p736bj1w0pvg89ng";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -4099,10 +4173,10 @@
elpaBuild { elpaBuild {
pname = "org-modern"; pname = "org-modern";
ename = "org-modern"; ename = "org-modern";
version = "1.2"; version = "1.3";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/org-modern-1.2.tar"; url = "https://elpa.gnu.org/packages/org-modern-1.3.tar";
sha256 = "1bm8kkcrn0glsb69sapj1zmb2ygd4sxksb3gag4hw1v5w3g51jjh"; sha256 = "1lpl9q9ijyp6pwb0qap9ydzkq0pd5xkbfpaqy1nvcy5b906jmkdj";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -4189,10 +4263,10 @@
elpaBuild { elpaBuild {
pname = "orgalist"; pname = "orgalist";
ename = "orgalist"; ename = "orgalist";
version = "1.14"; version = "1.16";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/orgalist-1.14.tar"; url = "https://elpa.gnu.org/packages/orgalist-1.16.tar";
sha256 = "02diwanqldzr42aaa5kqcj1xgxmf1k6rqhk9zv40psqpzgd1yms5"; sha256 = "0j78g12q66piclraa2nvd1h4ri8d6cnw5jahw6k5zi4xfjag6yx3";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -4350,16 +4424,16 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
persist = callPackage ({ elpaBuild, fetchurl, lib }: persist = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "persist"; pname = "persist";
ename = "persist"; ename = "persist";
version = "0.6"; version = "0.6.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/persist-0.6.tar"; url = "https://elpa.gnu.org/packages/persist-0.6.1.tar";
sha256 = "1p6h211xk0lrk4zqlm51rsms5lza9ymx6ayh9ij0afqrjqgffw77"; sha256 = "1a7lls81q247mbkcnifmsva16cfjjma6yihxmj5zrj8ac774z9j3";
}; };
packageRequires = []; packageRequires = [ emacs ];
meta = { meta = {
homepage = "https://elpa.gnu.org/packages/persist.html"; homepage = "https://elpa.gnu.org/packages/persist.html";
license = lib.licenses.free; license = lib.licenses.free;
@ -4399,10 +4473,10 @@
elpaBuild { elpaBuild {
pname = "plz"; pname = "plz";
ename = "plz"; ename = "plz";
version = "0.8"; version = "0.9";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/plz-0.8.tar"; url = "https://elpa.gnu.org/packages/plz-0.9.tar";
sha256 = "0kg275kq5hi83ry0n83w8pi0qn2lmlv9gnxcbwf1dcqk7n9i2v64"; sha256 = "1wgcfwrmbw6bl00midhn99hn3fvbavkibb4r6s99yzmd48vyapr8";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -4515,14 +4589,44 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
preview-auto = callPackage ({ auctex, elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "preview-auto";
ename = "preview-auto";
version = "0.3";
src = fetchurl {
url = "https://elpa.gnu.org/packages/preview-auto-0.3.tar";
sha256 = "19jih2bn6ac82jx6w7jhv9hbz47c8argv24lfglvv6532fda218r";
};
packageRequires = [ auctex emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/preview-auto.html";
license = lib.licenses.free;
};
}) {};
preview-tailor = callPackage ({ auctex, elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "preview-tailor";
ename = "preview-tailor";
version = "0.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/preview-tailor-0.2.tar";
sha256 = "1mqh2myz5w84f4n01ibd695h4mnqwjxmg7rvs7pz3sylz1xqyks7";
};
packageRequires = [ auctex emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/preview-tailor.html";
license = lib.licenses.free;
};
}) {};
project = callPackage ({ elpaBuild, emacs, fetchurl, lib, xref }: project = callPackage ({ elpaBuild, emacs, fetchurl, lib, xref }:
elpaBuild { elpaBuild {
pname = "project"; pname = "project";
ename = "project"; ename = "project";
version = "0.10.0"; version = "0.11.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/project-0.10.0.tar"; url = "https://elpa.gnu.org/packages/project-0.11.1.tar";
sha256 = "07lv41asdah2v3k6nrc73z3pjhsm7viygr12ly9p96g2yw11irg6"; sha256 = "1973d6z7nx9pp5gadqk8p71v6s5wqja40a0f8zjrn6rrnfarrcd0";
}; };
packageRequires = [ emacs xref ]; packageRequires = [ emacs xref ];
meta = { meta = {
@ -4714,10 +4818,10 @@
elpaBuild { elpaBuild {
pname = "rcirc-sqlite"; pname = "rcirc-sqlite";
ename = "rcirc-sqlite"; ename = "rcirc-sqlite";
version = "1.0.1"; version = "1.0.2";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/rcirc-sqlite-1.0.1.tar"; url = "https://elpa.gnu.org/packages/rcirc-sqlite-1.0.2.tar";
sha256 = "0n0492s500gplmv7l8n8l7s3rpm1nli3n706n9f91qc15z6p6mcv"; sha256 = "128wq3mm2ckcchly6c31i87jrkq19q7ysvx5fg34jhjg53dkrz28";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -5725,6 +5829,36 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
tex-item = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "tex-item";
ename = "tex-item";
version = "0.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/tex-item-0.1.tar";
sha256 = "0ggbn3lk64cv6pnw97ww7vn250jchj80zx3hvkcqlccyw34x6ziy";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/tex-item.html";
license = lib.licenses.free;
};
}) {};
tex-parens = callPackage ({ auctex, elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "tex-parens";
ename = "tex-parens";
version = "0.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/tex-parens-0.4.tar";
sha256 = "08mj18sh32z61kjizf3y6bb0zvb6qgdhrk9q7b15bi5mllk834zd";
};
packageRequires = [ auctex emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/tex-parens.html";
license = lib.licenses.free;
};
}) {};
theme-buffet = callPackage ({ elpaBuild, emacs, fetchurl, lib }: theme-buffet = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "theme-buffet"; pname = "theme-buffet";
@ -5838,10 +5972,10 @@
elpaBuild { elpaBuild {
pname = "tramp"; pname = "tramp";
ename = "tramp"; ename = "tramp";
version = "2.6.3"; version = "2.7.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/tramp-2.6.3.tar"; url = "https://elpa.gnu.org/packages/tramp-2.7.1.tar";
sha256 = "0z44mfpvn4qy2xc2fsiahw3xir140ljna8aq45dcb7qnmr044xjb"; sha256 = "128k591219ffwbk1cifki0xx94rg6b7crh7gmhaiqfa6jylqhcg8";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -5898,10 +6032,10 @@
elpaBuild { elpaBuild {
pname = "transient"; pname = "transient";
ename = "transient"; ename = "transient";
version = "0.6.0"; version = "0.7.2";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/transient-0.6.0.tar"; url = "https://elpa.gnu.org/packages/transient-0.7.2.tar";
sha256 = "0rk4gafx3yylzawiny86ml4jzrs8x6cf2bvmnv36p8l13wgp0w9p"; sha256 = "0i68wpwxf729qxjxhafkp098wcmkqn06ka3hcqnlky2p1zl29hby";
}; };
packageRequires = [ compat emacs seq ]; packageRequires = [ compat emacs seq ];
meta = { meta = {
@ -6484,16 +6618,16 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
window-tool-bar = callPackage ({ elpaBuild, emacs, fetchurl, lib }: window-tool-bar = callPackage ({ compat, elpaBuild, emacs, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "window-tool-bar"; pname = "window-tool-bar";
ename = "window-tool-bar"; ename = "window-tool-bar";
version = "0.2"; version = "0.2.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/window-tool-bar-0.2.tar"; url = "https://elpa.gnu.org/packages/window-tool-bar-0.2.1.tar";
sha256 = "191v21rrw1j560512mjn1s1avhirk1awy746xajjra8lb1ywnxw7"; sha256 = "06wf3kwc4sjd14ihagmahxjvk35skb28rh9yclpzbrvjqk0ss35v";
}; };
packageRequires = [ emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
homepage = "https://elpa.gnu.org/packages/window-tool-bar.html"; homepage = "https://elpa.gnu.org/packages/window-tool-bar.html";
license = lib.licenses.free; license = lib.licenses.free;
@ -6624,16 +6758,16 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
xelb = callPackage ({ cl-generic, elpaBuild, emacs, fetchurl, lib }: xelb = callPackage ({ compat, elpaBuild, emacs, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "xelb"; pname = "xelb";
ename = "xelb"; ename = "xelb";
version = "0.18"; version = "0.20";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/xelb-0.18.tar"; url = "https://elpa.gnu.org/packages/xelb-0.20.tar";
sha256 = "1qixb236z01azjbc1xycji99rjkq747hip4gcf0gli1is8ink0bs"; sha256 = "12ikrnvik1n1fdc6ixx53d0z84v269wi463380k0i5zb6q8ncwpk";
}; };
packageRequires = [ cl-generic emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
homepage = "https://elpa.gnu.org/packages/xelb.html"; homepage = "https://elpa.gnu.org/packages/xelb.html";
license = lib.licenses.free; license = lib.licenses.free;
@ -6673,10 +6807,10 @@
elpaBuild { elpaBuild {
pname = "xref"; pname = "xref";
ename = "xref"; ename = "xref";
version = "1.6.3"; version = "1.7.0";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/xref-1.6.3.tar"; url = "https://elpa.gnu.org/packages/xref-1.7.0.tar";
sha256 = "0mir1nhic0rnz12d8i1n6m2ihfynhkkg8yccy4v9j4kd31w6f1gs"; sha256 = "0jy49zrkqiqg9131k24y6nyjnq2am4dwwdrqmginrrwzvi3y9d24";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {

View file

@ -141,26 +141,6 @@ self: let
}; };
}); });
org = super.org.overrideAttrs (old: {
dontUnpack = false;
patches = old.patches or [ ] ++ lib.optionals (lib.versionOlder old.version "9.7.5") [
# security fix backported from 9.7.5
(pkgs.fetchpatch {
url = "https://git.savannah.gnu.org/cgit/emacs/org-mode.git/patch/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8";
hash = "sha256-bGgsnTSn6SMu1J8P2BfJjrKx2845FCsUB2okcIrEjDg=";
stripLen = 1;
})
];
postPatch = old.postPatch or "" + "\n" + ''
pushd ..
local content_directory=${old.ename}-${old.version}
src=$PWD/$content_directory.tar
tar --create --verbose --file=$src $content_directory
popd
'';
dontBuild = true;
});
plz = super.plz.overrideAttrs ( plz = super.plz.overrideAttrs (
old: { old: {
dontUnpack = false; dontUnpack = false;

View file

@ -13,8 +13,6 @@ in
agda2-mode = callPackage ./manual-packages/agda2-mode { }; agda2-mode = callPackage ./manual-packages/agda2-mode { };
beancount = callPackage ./manual-packages/beancount { };
cask = callPackage ./manual-packages/cask { }; cask = callPackage ./manual-packages/cask { };
codeium = callPackage ./manual-packages/codeium { codeium = callPackage ./manual-packages/codeium {
@ -35,8 +33,6 @@ in
emacs-conflict = callPackage ./manual-packages/emacs-conflict { }; emacs-conflict = callPackage ./manual-packages/emacs-conflict { };
enlight = callPackage ./manual-packages/enlight { };
evil-markdown = callPackage ./manual-packages/evil-markdown { }; evil-markdown = callPackage ./manual-packages/evil-markdown { };
font-lock-plus = callPackage ./manual-packages/font-lock-plus { }; font-lock-plus = callPackage ./manual-packages/font-lock-plus { };

View file

@ -1,35 +0,0 @@
{ lib
, melpaBuild
, fetchFromGitHub
, emacs
, writeText
}:
let
rev = "519bfd868f206ed2fc538a57cdb631c4fec3c93e";
in
melpaBuild {
pname = "beancount";
version = "20230205.436";
src = fetchFromGitHub {
owner = "beancount";
repo = "beancount-mode";
inherit rev;
hash = "sha256-nTEXJdPEPZpNm06uYvRxLuiOHmsiIgMLerd//dA0+KQ=";
};
commit = rev;
recipe = writeText "recipe" ''
(beancount :repo "beancount/beancount-mode" :fetcher github)
'';
meta = {
homepage = "https://github.com/beancount/beancount-mode";
description = "Emacs major-mode to work with Beancount ledger files";
maintainers = with lib.maintainers; [ polarmutex ];
license = lib.licenses.gpl3Only;
inherit (emacs.meta) platforms;
};
}

View file

@ -1,27 +0,0 @@
{
lib,
compat,
fetchFromGitHub,
melpaBuild,
}:
melpaBuild {
pname = "enlight";
version = "20240601.1150";
src = fetchFromGitHub {
owner = "ichernyshovvv";
repo = "enlight";
rev = "76753736da1777c8f9ebbeb08beec15b330a5878";
hash = "sha256-Ccfv4Ud5B4L4FfIOI2PDKikV9x8x3a7VeHYDyLV7t4g=";
};
packageRequires = [ compat ];
meta = {
homepage = "https://github.com/ichernyshovvv/enlight";
description = "Highly customizable startup screen for Emacs";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ AndersonTorres ];
};
}

View file

@ -139,10 +139,10 @@
elpaBuild { elpaBuild {
pname = "arduino-mode"; pname = "arduino-mode";
ename = "arduino-mode"; ename = "arduino-mode";
version = "1.3.0"; version = "1.3.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/arduino-mode-1.3.0.tar"; url = "https://elpa.nongnu.org/nongnu/arduino-mode-1.3.1.tar";
sha256 = "167b35s34x51qnlx59sawaz4wzlnk2kf9130ylz2b1bj7jy5n27a"; sha256 = "1k42qx7kgm8svv70czzlkmm3c7cddf93bqvf6267hbkaihhyd21y";
}; };
packageRequires = [ emacs spinner ]; packageRequires = [ emacs spinner ];
meta = { meta = {
@ -212,6 +212,21 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
beancount = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "beancount";
ename = "beancount";
version = "0.9";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/beancount-0.9.tar";
sha256 = "1s0w17mq8kilkrd33pan78px6mz5z96d7gvdmy2shg3hvj1jbq09";
};
packageRequires = [];
meta = {
homepage = "https://elpa.gnu.org/packages/beancount.html";
license = lib.licenses.free;
};
}) {};
better-jumper = callPackage ({ elpaBuild, emacs, fetchurl, lib }: better-jumper = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "better-jumper"; pname = "better-jumper";
@ -376,10 +391,10 @@
elpaBuild { elpaBuild {
pname = "cider"; pname = "cider";
ename = "cider"; ename = "cider";
version = "1.13.1"; version = "1.15.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/cider-1.13.1.tar"; url = "https://elpa.nongnu.org/nongnu/cider-1.15.1.tar";
sha256 = "0df5z57schfszlp1vkb6fiiadx12qlpk5qzfw61g664a2i654fsg"; sha256 = "0qfh98hrlxpr71jqgsghmv687sp90iaffcgb7q5candcq8dscfb6";
}; };
packageRequires = [ packageRequires = [
clojure-mode clojure-mode
@ -400,10 +415,10 @@
elpaBuild { elpaBuild {
pname = "clojure-mode"; pname = "clojure-mode";
ename = "clojure-mode"; ename = "clojure-mode";
version = "5.18.1"; version = "5.19.0";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/clojure-mode-5.18.1.tar"; url = "https://elpa.nongnu.org/nongnu/clojure-mode-5.19.0.tar";
sha256 = "1p9nh4p3skjxbsnyj2in3m8jdyrrj8iw0malfcz0ppc4d7zm6klx"; sha256 = "10dpdi4yc7bbga2mllk46jfy58ppj8vlhs37zd9vlk9rnfc54r99";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -518,6 +533,21 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
csv2ledger = callPackage ({ csv-mode, elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "csv2ledger";
ename = "csv2ledger";
version = "1.5.4";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/csv2ledger-1.5.4.tar";
sha256 = "1h935g97fjrs1q0yz0q071zp91bhsb3yg13zqpp8il5gif20qqls";
};
packageRequires = [ csv-mode emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/csv2ledger.html";
license = lib.licenses.free;
};
}) {};
cyberpunk-theme = callPackage ({ elpaBuild, fetchurl, lib }: cyberpunk-theme = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "cyberpunk-theme"; pname = "cyberpunk-theme";
@ -702,6 +732,21 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
dslide = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "dslide";
ename = "dslide";
version = "0.5.3";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/dslide-0.5.3.tar";
sha256 = "11q807jp90y37s1njmr6qlnqi9pk371gj8mwg57kgjvc55qdyas5";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/dslide.html";
license = lib.licenses.free;
};
}) {};
eat = callPackage ({ compat, elpaBuild, emacs, fetchurl, lib }: eat = callPackage ({ compat, elpaBuild, emacs, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "eat"; pname = "eat";
@ -766,10 +811,10 @@
elpaBuild { elpaBuild {
pname = "elpher"; pname = "elpher";
ename = "elpher"; ename = "elpher";
version = "3.6.0"; version = "3.6.2";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/elpher-3.6.0.tar"; url = "https://elpa.nongnu.org/nongnu/elpher-3.6.2.tar";
sha256 = "1xf3kl09inswx4w03fxj35n1ypvlin39z493fw4ksnpf79ccfk4x"; sha256 = "168cyhkp2q57k26r961c3g521qf8gj2b5rl8k1fg4z60y63s1rpk";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -1218,10 +1263,10 @@
elpaBuild { elpaBuild {
pname = "geiser"; pname = "geiser";
ename = "geiser"; ename = "geiser";
version = "0.30"; version = "0.31";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/geiser-0.30.tar"; url = "https://elpa.nongnu.org/nongnu/geiser-0.31.tar";
sha256 = "0h63skslmc23rjlsrqmcnqf2s431ml0wmkbza38j44kzxnsz0x5g"; sha256 = "0szyasza76ak4qny9v9i3sk1m3mahlxcvvsk078q8rp9cms5lzkv";
}; };
packageRequires = [ emacs project ]; packageRequires = [ emacs project ];
meta = { meta = {
@ -1409,10 +1454,10 @@
elpaBuild { elpaBuild {
pname = "git-modes"; pname = "git-modes";
ename = "git-modes"; ename = "git-modes";
version = "1.4.2"; version = "1.4.3";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/git-modes-1.4.2.tar"; url = "https://elpa.nongnu.org/nongnu/git-modes-1.4.3.tar";
sha256 = "0hdy4wpnyrn3a8i9yxk5gvsggnpgpg6r0wip0zmhcl9nxi4h6kb3"; sha256 = "0fhmzx4cmj7g4cbv3h1gjwhwnvfqcgiifhz4hl98r7zzmz8z7kdk";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -1529,10 +1574,10 @@
elpaBuild { elpaBuild {
pname = "gptel"; pname = "gptel";
ename = "gptel"; ename = "gptel";
version = "0.8.6"; version = "0.9.0";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/gptel-0.8.6.tar"; url = "https://elpa.nongnu.org/nongnu/gptel-0.9.0.tar";
sha256 = "1ds0i32bdmdi5w68cjxm9xlg0m9n29yr4hl6sqi8gn3kgswfx1sb"; sha256 = "1crcng1h6i64h6l3pha96k3hy2hga73pp0wy4i9gdrc1ra0dbjf4";
}; };
packageRequires = [ compat emacs transient ]; packageRequires = [ compat emacs transient ];
meta = { meta = {
@ -1645,16 +1690,16 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
helm = callPackage ({ elpaBuild, fetchurl, helm-core, lib, popup, wfnames }: helm = callPackage ({ elpaBuild, fetchurl, helm-core, lib, wfnames }:
elpaBuild { elpaBuild {
pname = "helm"; pname = "helm";
ename = "helm"; ename = "helm";
version = "3.9.8"; version = "3.9.9";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/helm-3.9.8.tar"; url = "https://elpa.nongnu.org/nongnu/helm-3.9.9.tar";
sha256 = "1vcz3vj6drp5v66s3nsrai39rcwp1q3l2qdd1qxw7n58m4fgrkm6"; sha256 = "1k3jq2miivj881h0mpl68zgd229kj50axynsgxizdddg56nfsdm0";
}; };
packageRequires = [ helm-core popup wfnames ]; packageRequires = [ helm-core wfnames ];
meta = { meta = {
homepage = "https://elpa.gnu.org/packages/helm.html"; homepage = "https://elpa.gnu.org/packages/helm.html";
license = lib.licenses.free; license = lib.licenses.free;
@ -1664,10 +1709,10 @@
elpaBuild { elpaBuild {
pname = "helm-core"; pname = "helm-core";
ename = "helm-core"; ename = "helm-core";
version = "3.9.8"; version = "3.9.9";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/helm-core-3.9.8.tar"; url = "https://elpa.nongnu.org/nongnu/helm-core-3.9.9.tar";
sha256 = "03l5sva3qhfmjdpys1k2pbcja58fsdxljvmffjx70j7wyclb3v03"; sha256 = "067x4g19w032671545bfah4262xyhgnwxkaw8pdk4fqd5znw0yck";
}; };
packageRequires = [ async emacs ]; packageRequires = [ async emacs ];
meta = { meta = {
@ -1675,6 +1720,21 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
hideshowvis = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "hideshowvis";
ename = "hideshowvis";
version = "0.8";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/hideshowvis-0.8.tar";
sha256 = "0xx2jjv95r1nhlf729y0zplfpjlh46nfnixmd3f5jc3z2pc6zf5b";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/hideshowvis.html";
license = lib.licenses.free;
};
}) {};
highlight-parentheses = callPackage ({ elpaBuild highlight-parentheses = callPackage ({ elpaBuild
, emacs , emacs
, fetchurl , fetchurl
@ -1888,10 +1948,10 @@
elpaBuild { elpaBuild {
pname = "j-mode"; pname = "j-mode";
ename = "j-mode"; ename = "j-mode";
version = "1.1.1"; version = "2.0.1";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/j-mode-1.1.1.tar"; url = "https://elpa.nongnu.org/nongnu/j-mode-2.0.1.tar";
sha256 = "056af7l7rn116nygln41rsq2val5s3y0pz1pj2736mqsx3lcyiy2"; sha256 = "0kk29s3xqad72jxvzzbl4b4z8b4l7xx1vyfcbsj8ns8hv8cip3l3";
}; };
packageRequires = []; packageRequires = [];
meta = { meta = {
@ -1948,10 +2008,10 @@
elpaBuild { elpaBuild {
pname = "keycast"; pname = "keycast";
ename = "keycast"; ename = "keycast";
version = "1.3.3"; version = "1.4.0";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/keycast-1.3.3.tar"; url = "https://elpa.nongnu.org/nongnu/keycast-1.4.0.tar";
sha256 = "048j5q4hpr8y89lrcqwbcqjazj52rak8jv8nl6fs4sqjik10zcji"; sha256 = "0az8jixzncbz042il45hq1hwj6qvcm53f2fns19bspf1k4v4dphk";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -2092,10 +2152,10 @@
elpaBuild { elpaBuild {
pname = "mastodon"; pname = "mastodon";
ename = "mastodon"; ename = "mastodon";
version = "1.0.21"; version = "1.0.24";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/mastodon-1.0.21.tar"; url = "https://elpa.nongnu.org/nongnu/mastodon-1.0.24.tar";
sha256 = "1qlpkg28q4iyvjjzv8b40b8q7ni7rc94lj5akgzxbzw4avpp1217"; sha256 = "05jj62klf7cf44nlkjxdzg63xi4z30n5c4806xd5i2yw19nfw023";
}; };
packageRequires = [ emacs persist request ]; packageRequires = [ emacs persist request ];
meta = { meta = {
@ -2427,6 +2487,26 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
org-transclusion-http = callPackage ({ elpaBuild
, emacs
, fetchurl
, lib
, org-transclusion
, plz }:
elpaBuild {
pname = "org-transclusion-http";
ename = "org-transclusion-http";
version = "0.4";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/org-transclusion-http-0.4.tar";
sha256 = "1k57672w0dcw63dp1a6m5fc0pkm8p5la9811m16r440i7wqq0kmr";
};
packageRequires = [ emacs org-transclusion plz ];
meta = {
homepage = "https://elpa.gnu.org/packages/org-transclusion-http.html";
license = lib.licenses.free;
};
}) {};
org-tree-slide = callPackage ({ elpaBuild, emacs, fetchurl, lib }: org-tree-slide = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "org-tree-slide"; pname = "org-tree-slide";
@ -2715,10 +2795,10 @@
elpaBuild { elpaBuild {
pname = "racket-mode"; pname = "racket-mode";
ename = "racket-mode"; ename = "racket-mode";
version = "1.0.20240514.112412"; version = "1.0.20240621.124732";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/racket-mode-1.0.20240514.112412.tar"; url = "https://elpa.nongnu.org/nongnu/racket-mode-1.0.20240621.124732.tar";
sha256 = "1ysjq9jvkm8qibj0z6j4q90sx19xyz9z9qzdlci9mw872r21ak9h"; sha256 = "1b5kq8r2skssqzqg9iah8h9jmxgzhzlzi0spbk3wkiadqyw6flbs";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -2865,10 +2945,10 @@
elpaBuild { elpaBuild {
pname = "scad-mode"; pname = "scad-mode";
ename = "scad-mode"; ename = "scad-mode";
version = "93.3"; version = "94.0";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/scad-mode-93.3.tar"; url = "https://elpa.nongnu.org/nongnu/scad-mode-94.0.tar";
sha256 = "1d3mv50n3d0qg1sxvp11a4i15vc75j9gpzlqcxnc0l1lqhn64rwh"; sha256 = "1cqai7qb9m17rf7llkn9vbxddgn0ixcf3dbnsjk1aflvj8mq9nr3";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -3090,10 +3170,10 @@
elpaBuild { elpaBuild {
pname = "subed"; pname = "subed";
ename = "subed"; ename = "subed";
version = "1.2.11"; version = "1.2.14";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/subed-1.2.11.tar"; url = "https://elpa.nongnu.org/nongnu/subed-1.2.14.tar";
sha256 = "0grzlxibv57qds3dml6yjpw9hag86hbkrb1f66k7qn5hxaadmvpw"; sha256 = "0kzb054radxq9hqviadmbr4cln39yp7yz4inq4ip52rd3qdm8vy4";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -3366,10 +3446,10 @@
elpaBuild { elpaBuild {
pname = "undo-fu-session"; pname = "undo-fu-session";
ename = "undo-fu-session"; ename = "undo-fu-session";
version = "0.6"; version = "0.7";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/undo-fu-session-0.6.tar"; url = "https://elpa.nongnu.org/nongnu/undo-fu-session-0.7.tar";
sha256 = "057izvr86har50z1sfk4s6r88w2ga57afwm2w9p5v14lq31vj7cp"; sha256 = "1gly9fl8kvfssh2h90j9qcqvxvmnckn0x1wfm4qbz9ax57xvms23";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {
@ -3506,10 +3586,10 @@
elpaBuild { elpaBuild {
pname = "with-editor"; pname = "with-editor";
ename = "with-editor"; ename = "with-editor";
version = "3.3.2"; version = "3.3.4";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/with-editor-3.3.2.tar"; url = "https://elpa.nongnu.org/nongnu/with-editor-3.3.4.tar";
sha256 = "1yjx1w54qdjpmq5f7l3y19d4bayyk01rgd82c56swsaxsf4j5fpv"; sha256 = "1q9h181r1192zz5ff95rb3j2j69w9ha00qrap5df8cs73z8kh2vc";
}; };
packageRequires = [ compat emacs ]; packageRequires = [ compat emacs ];
meta = { meta = {
@ -3589,10 +3669,10 @@
elpaBuild { elpaBuild {
pname = "xah-fly-keys"; pname = "xah-fly-keys";
ename = "xah-fly-keys"; ename = "xah-fly-keys";
version = "25.6.20240521220424"; version = "25.9.20240703220947";
src = fetchurl { src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/xah-fly-keys-25.6.20240521220424.tar"; url = "https://elpa.nongnu.org/nongnu/xah-fly-keys-25.9.20240703220947.tar";
sha256 = "029hy3qmf6nvibbq9w2b964gzbw99lja595h4g1y5zzyrgzqrhrn"; sha256 = "1kg8qhr1wnbcm44bmvan62k68603pjickaaj68q7g78vkzlzwpya";
}; };
packageRequires = [ emacs ]; packageRequires = [ emacs ];
meta = { meta = {

View file

@ -60,6 +60,7 @@
, texinfo , texinfo
, webkitgtk , webkitgtk
, wrapGAppsHook3 , wrapGAppsHook3
, zlib
# Boolean flags # Boolean flags
, withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform , withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
@ -250,6 +251,7 @@ mkDerivation (finalAttrs: {
glib-networking glib-networking
] ++ lib.optionals withNativeCompilation [ ] ++ lib.optionals withNativeCompilation [
libgccjit libgccjit
zlib
] ++ lib.optionals withImageMagick [ ] ++ lib.optionals withImageMagick [
imagemagick imagemagick
] ++ lib.optionals withPgtk [ ] ++ lib.optionals withPgtk [

View file

@ -8,7 +8,7 @@ rustPlatform.buildRustPackage rec {
pname = "kibi"; pname = "kibi";
version = "0.2.2"; version = "0.2.2";
cargoSha256 = "sha256-ebUCkcUACganeq5U0XU4VIGClKDZGhUw6K3WBgTUUUw="; cargoHash = "sha256-ebUCkcUACganeq5U0XU4VIGClKDZGhUw6K3WBgTUUUw=";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ilai-deutel"; owner = "ilai-deutel";

View file

@ -1,6 +1,6 @@
{ lib, fetchFromGitHub }: { lib, fetchFromGitHub }:
rec { rec {
version = "9.1.0509"; version = "9.1.0595";
outputs = [ "out" "xxd" ]; outputs = [ "out" "xxd" ];
@ -8,7 +8,7 @@ rec {
owner = "vim"; owner = "vim";
repo = "vim"; repo = "vim";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-CATjUalRjvVjEfWT5evFAk//Oj4iB1fDBsRU5MhDyn4="; hash = "sha256-v8xVP1WuvE9XdQl1LDIq3pjaKyqPWM0fsFKcpIwPbNA=";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;

View file

@ -564,7 +564,7 @@
pname = "cord.nvim-rust"; pname = "cord.nvim-rust";
inherit version src; inherit version src;
cargoSha256 = "sha256-6FYf4pHEPxvhKHHPmkjQ40zPxaiypnpDxF8kNH+h+tg="; cargoHash = "sha256-6FYf4pHEPxvhKHHPmkjQ40zPxaiypnpDxF8kNH+h+tg=";
installPhase = let installPhase = let
cargoTarget = stdenv.hostPlatform.rust.cargoShortTarget; cargoTarget = stdenv.hostPlatform.rust.cargoShortTarget;
@ -928,7 +928,7 @@
inherit version; inherit version;
src = LanguageClient-neovim-src; src = LanguageClient-neovim-src;
cargoSha256 = "H34UqJ6JOwuSABdOup5yKeIwFrGc83TUnw1ggJEx9o4="; cargoHash = "sha256-H34UqJ6JOwuSABdOup5yKeIwFrGc83TUnw1ggJEx9o4=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
# FIXME: Use impure version of CoreFoundation because of missing symbols. # FIXME: Use impure version of CoreFoundation because of missing symbols.
@ -1901,7 +1901,7 @@
vim-markdown-composer-bin = rustPlatform.buildRustPackage { vim-markdown-composer-bin = rustPlatform.buildRustPackage {
pname = "vim-markdown-composer-bin"; pname = "vim-markdown-composer-bin";
inherit (super.vim-markdown-composer) src version; inherit (super.vim-markdown-composer) src version;
cargoSha256 = "sha256-Vie8vLTplhaVU4E9IohvxERfz3eBpd62m8/1Ukzk8e4="; cargoHash = "sha256-Vie8vLTplhaVU4E9IohvxERfz3eBpd62m8/1Ukzk8e4=";
# tests require network access # tests require network access
doCheck = false; doCheck = false;
}; };

View file

@ -38,7 +38,7 @@
, xdg-user-dirs , xdg-user-dirs
, addOpenGLRunpath , addDriverRunpath
# Whether to pre-compile Python 2 bytecode for performance. # Whether to pre-compile Python 2 bytecode for performance.
, compilePy2Bytecode ? false , compilePy2Bytecode ? false
@ -217,7 +217,7 @@ in stdenv.mkDerivation {
exit 1 exit 1
fi fi
patchelf --add-rpath "${lib.makeLibraryPath wrappedLibs}:${addOpenGLRunpath.driverLink}/lib" \ patchelf --add-rpath "${lib.makeLibraryPath wrappedLibs}:${addDriverRunpath.driverLink}/lib" \
$out/libexec/darling/usr/libexec/darling/mldr $out/libexec/darling/usr/libexec/darling/mldr
''; '';

View file

@ -19,9 +19,6 @@ stdenv.mkDerivation rec {
hash = "sha256-ZptjlnOiF+hKuKYvBFJL95H5YQuR99d4biOco/MVEmE="; hash = "sha256-ZptjlnOiF+hKuKYvBFJL95H5YQuR99d4biOco/MVEmE=";
}; };
# work around https://github.com/NixOS/nixpkgs/issues/19098
env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.cc.isClang && stdenv.isDarwin) "-fno-lto";
nativeBuildInputs = [ wrapQtAppsHook qmake ]; nativeBuildInputs = [ wrapQtAppsHook qmake ];
buildInputs = [ qtbase qtdeclarative qtquickcontrols ]; buildInputs = [ qtbase qtdeclarative qtquickcontrols ];

View file

@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-k0WQu1n1sAHVor58jr060vD5/2rDrt1k5zzJlrK9WrU="; sha256 = "sha256-k0WQu1n1sAHVor58jr060vD5/2rDrt1k5zzJlrK9WrU=";
}; };
cargoSha256 = "sha256-OQZPOiMTpoWabxHa3TJG8L3zq8WxMeFttw8xggSXsMA="; cargoHash = "sha256-OQZPOiMTpoWabxHa3TJG8L3zq8WxMeFttw8xggSXsMA=";
nativeBuildInputs = lib.optionals stdenv.isLinux [ nativeBuildInputs = lib.optionals stdenv.isLinux [
pkg-config pkg-config

View file

@ -82,9 +82,6 @@ python3Packages.buildPythonPackage rec {
twisted twisted
]; ];
# tests rely on nose
doCheck = pythonOlder "3.12";
nativeCheckInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
nose nose
mock mock

View file

@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-CC40TU38bJFnbJl2EHqeB9RBvbVUrBmRdZVS2GxqGu4="; sha256 = "sha256-CC40TU38bJFnbJl2EHqeB9RBvbVUrBmRdZVS2GxqGu4=";
}; };
cargoSha256 = "sha256-cUE2IZOunR/NIo/qytORRfNqCsf87LfpKA8o/v4Nkhk="; cargoHash = "sha256-cUE2IZOunR/NIo/qytORRfNqCsf87LfpKA8o/v4Nkhk=";
nativeBuildInputs = [ glib pkg-config wrapGAppsHook4 ]; nativeBuildInputs = [ glib pkg-config wrapGAppsHook4 ];

View file

@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-owP3G1Rygraifdc4iPURQ1Es0msNhYZIlfrtj0CSU6Y="; sha256 = "sha256-owP3G1Rygraifdc4iPURQ1Es0msNhYZIlfrtj0CSU6Y=";
}; };
cargoSha256 = "sha256-NtXjlGkX8AzSw98xHPymzdnTipMIunyDbpSr4eVowa0="; cargoHash = "sha256-NtXjlGkX8AzSw98xHPymzdnTipMIunyDbpSr4eVowa0=";
nativeBuildInputs = [ installShellFiles ] nativeBuildInputs = [ installShellFiles ]
++ lib.optional stdenv.isLinux pkg-config; ++ lib.optional stdenv.isLinux pkg-config;

View file

@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-LTpaV/fgYUgA2M6Wz5qLHnTNywh13900g+umhgLvciM="; sha256 = "sha256-LTpaV/fgYUgA2M6Wz5qLHnTNywh13900g+umhgLvciM=";
}; };
cargoSha256 = "sha256-4hi1U4jl6QA7H8AKHlU+Hqz5iKGYHRXHDsrcqY7imkU="; cargoHash = "sha256-4hi1U4jl6QA7H8AKHlU+Hqz5iKGYHRXHDsrcqY7imkU=";
nativeBuildInputs = [ cmake pkg-config makeWrapper ]; nativeBuildInputs = [ cmake pkg-config makeWrapper ];

View file

@ -1,5 +1,5 @@
{ stdenv, lib, qtbase, wrapQtAppsHook, fetchFromGitHub, { stdenv, lib, qtbase, wrapQtAppsHook, fetchFromGitHub,
addOpenGLRunpath, poppler_utils, qtxmlpatterns, qtsvg, mesa, xvfb-run, addDriverRunpath, poppler_utils, qtxmlpatterns, qtsvg, mesa, xvfb-run,
fontconfig, freetype, xorg, qmake, python3, qttools, git fontconfig, freetype, xorg, qmake, python3, qttools, git
}: }:
let let
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
addOpenGLRunpath addDriverRunpath
xvfb-run xvfb-run
fontconfig fontconfig
wrapQtAppsHook wrapQtAppsHook

View file

@ -5,7 +5,7 @@
OpenAL, OpenAL,
OpenGL, OpenGL,
SDL, SDL,
addOpenGLRunpath, addDriverRunpath,
alembic, alembic,
blender, blender,
boost, boost,
@ -220,7 +220,7 @@ stdenv.mkDerivation (finalAttrs: {
python3Packages.wrapPython python3Packages.wrapPython
] ]
++ lib.optionals cudaSupport [ ++ lib.optionals cudaSupport [
addOpenGLRunpath addDriverRunpath
cudaPackages.cuda_nvcc cudaPackages.cuda_nvcc
] ]
++ lib.optionals waylandSupport [ pkg-config ]; ++ lib.optionals waylandSupport [ pkg-config ];
@ -344,7 +344,7 @@ stdenv.mkDerivation (finalAttrs: {
lib.optionalString cudaSupport '' lib.optionalString cudaSupport ''
for program in $out/bin/blender $out/bin/.blender-wrapped; do for program in $out/bin/blender $out/bin/.blender-wrapped; do
isELF "$program" || continue isELF "$program" || continue
addOpenGLRunpath "$program" addDriverRunpath "$program"
done done
'' ''
+ lib.optionalString stdenv.isDarwin '' + lib.optionalString stdenv.isDarwin ''

View file

@ -21,7 +21,7 @@
, qmake , qmake
, qtbase , qtbase
, qtwayland , qtwayland
, speechd , speechd-minimal
, sqlite , sqlite
, wrapQtAppsHook , wrapQtAppsHook
, xdg-utils , xdg-utils
@ -132,7 +132,7 @@ stdenv.mkDerivation (finalAttrs: {
] ++ lib.optional (unrarSupport) unrardll) ] ++ lib.optional (unrarSupport) unrardll)
) )
xdg-utils xdg-utils
] ++ lib.optional (speechSupport) speechd; ] ++ lib.optional (speechSupport) speechd-minimal;
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall

View file

@ -50,8 +50,7 @@ python.pkgs.buildPythonApplication rec {
tenacity tenacity
typer typer
watchdog watchdog
] ];
++ typer.optional-dependencies.all;
passthru.optional-dependencies = with python3.pkgs; { passthru.optional-dependencies = with python3.pkgs; {
aws = [ boto3 ]; aws = [ boto3 ];

View file

@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
# Cargo.lock is outdated # Cargo.lock is outdated
cargoPatches = [ ./cargo-lock.patch ]; cargoPatches = [ ./cargo-lock.patch ];
cargoSha256 = "sha256-keLcNttdM9JUnn3qi/bWkcObIHl3MRACDHKPSZuScOc="; cargoHash = "sha256-keLcNttdM9JUnn3qi/bWkcObIHl3MRACDHKPSZuScOc=";
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
CoreServices CoreServices

View file

@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-NJ1O8+NBG0y39bMOZeah2jSZlvnPrtpCtXrgAYmVrAc="; sha256 = "sha256-NJ1O8+NBG0y39bMOZeah2jSZlvnPrtpCtXrgAYmVrAc=";
}; };
cargoSha256 = "sha256-tNUWW0HgXl+tM9uciApLSkLDDkzrvAiWmiYs2y/dEOM="; cargoHash = "sha256-tNUWW0HgXl+tM9uciApLSkLDDkzrvAiWmiYs2y/dEOM=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -2,7 +2,7 @@
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, fetchzip , fetchzip
, addOpenGLRunpath , addDriverRunpath
, cmake , cmake
, glibc_multi , glibc_multi
, glibc , glibc
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
git git
pkg-config pkg-config
] ++ lib.optionals withCuda [ ] ++ lib.optionals withCuda [
addOpenGLRunpath addDriverRunpath
]; ];
buildInputs = [ hwloc ] ++ (if withCuda then buildInputs = [ hwloc ] ++ (if withCuda then
@ -95,7 +95,7 @@ stdenv.mkDerivation rec {
''; '';
postFixup = lib.optionalString withCuda '' postFixup = lib.optionalString withCuda ''
addOpenGLRunpath $out/bin/FIRESTARTER_CUDA addDriverRunpath $out/bin/FIRESTARTER_CUDA
''; '';
meta = with lib; { meta = with lib; {

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, addOpenGLRunpath, cudatoolkit }: { lib, stdenv, fetchFromGitHub, addDriverRunpath, cudatoolkit }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "gpu-burn"; pname = "gpu-burn";
@ -19,7 +19,7 @@ stdenv.mkDerivation {
buildInputs = [ cudatoolkit ]; buildInputs = [ cudatoolkit ];
nativeBuildInputs = [ addOpenGLRunpath ]; nativeBuildInputs = [ addDriverRunpath ];
makeFlags = [ "CUDAPATH=${cudatoolkit}" ]; makeFlags = [ "CUDAPATH=${cudatoolkit}" ];
@ -32,7 +32,7 @@ stdenv.mkDerivation {
''; '';
postFixup = '' postFixup = ''
addOpenGLRunpath $out/bin/gpu_burn addDriverRunpath $out/bin/gpu_burn
''; '';
meta = with lib; { meta = with lib; {

View file

@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-HKAR4LJm0lrQgTOCqtYIRFbO3qHtPbr4Fpx2ek1oJ4Q="; sha256 = "sha256-HKAR4LJm0lrQgTOCqtYIRFbO3qHtPbr4Fpx2ek1oJ4Q=";
}; };
cargoSha256 = "sha256-svvtZyfN91OT3yqxH6TgFhGYg9drpXsts4p2WqSHG8w="; cargoHash = "sha256-svvtZyfN91OT3yqxH6TgFhGYg9drpXsts4p2WqSHG8w=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -16,7 +16,7 @@
, libXfixes , libXfixes
, libpulseaudio , libpulseaudio
, libva , libva
, ffmpeg_5 , ffmpeg_4
, libpng , libpng
, libjpeg8 , libjpeg8
, curl , curl
@ -57,7 +57,7 @@ stdenvNoCC.mkDerivation {
alsa-lib alsa-lib
libpulseaudio libpulseaudio
libva libva
ffmpeg_5 ffmpeg_4
libpng libpng
libjpeg8 libjpeg8
curl curl

View file

@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-uK4HWC+uGiey+K0p8+Wi+Pi+U7b4k09b8iKF9BmTPcc="; sha256 = "sha256-uK4HWC+uGiey+K0p8+Wi+Pi+U7b4k09b8iKF9BmTPcc=";
}; };
cargoSha256 = "sha256-5paHSrqU8tItD/CAbauj6KcW/mKsveOAfXjD/NUuFAc="; cargoHash = "sha256-5paHSrqU8tItD/CAbauj6KcW/mKsveOAfXjD/NUuFAc=";
buildInputs = lib.optional stdenv.isDarwin Security; buildInputs = lib.optional stdenv.isDarwin Security;

View file

@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-6jtUNhib6iveuZ7qUKK7AllyMKFpZ8OUUaIieFqseY8="; sha256 = "sha256-6jtUNhib6iveuZ7qUKK7AllyMKFpZ8OUUaIieFqseY8=";
}; };
cargoSha256 = "sha256-SLOiX8z8LuQ9VA/lg0lOhqs85MGs0vmeP74cS6sgghI="; cargoHash = "sha256-SLOiX8z8LuQ9VA/lg0lOhqs85MGs0vmeP74cS6sgghI=";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
postFixup = '' postFixup = ''

View file

@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-ZA1q1YVJcdSUF9NTikyT3vrRnqbsu5plzRI2gMu+qnQ="; sha256 = "sha256-ZA1q1YVJcdSUF9NTikyT3vrRnqbsu5plzRI2gMu+qnQ=";
}; };
cargoSha256 = "sha256-6ZhWStZebXSwrej36DXifrsrmR1SWW3PwGUX0hqPwE4="; cargoHash = "sha256-6ZhWStZebXSwrej36DXifrsrmR1SWW3PwGUX0hqPwE4=";
buildInputs = lib.optionals stdenv.isDarwin [ Foundation ]; buildInputs = lib.optionals stdenv.isDarwin [ Foundation ];
meta = with lib; { meta = with lib; {

View file

@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
--replace '/usr/bin/gnome-terminal' 'gnome-terminal' --replace '/usr/bin/gnome-terminal' 'gnome-terminal'
''; '';
cargoSha256 = "sha256-cTvrq0fH057UIx/O9u8zHMsg+psMGg1q9klV5OMxtok="; cargoHash = "sha256-cTvrq0fH057UIx/O9u8zHMsg+psMGg1q9klV5OMxtok=";
cargoBuildFlags = [ "--package" "pop-launcher-bin" ]; cargoBuildFlags = [ "--package" "pop-launcher-bin" ];

View file

@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-mEmtLCtHlrCurjKKJ3vEtEkLBik4LwuUED5UeQ1QLws="; hash = "sha256-mEmtLCtHlrCurjKKJ3vEtEkLBik4LwuUED5UeQ1QLws=";
}; };
cargoSha256 = "sha256-lgVByl+mpCDbhwlC1Eiw9ZkHIDYJsOR06Ds790pXOMc="; cargoHash = "sha256-lgVByl+mpCDbhwlC1Eiw9ZkHIDYJsOR06Ds790pXOMc=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "07xsrc0w0z7w2w0q44aqnn1ybf9vqry01v3xr96l1xzzc5mkqdzf"; sha256 = "07xsrc0w0z7w2w0q44aqnn1ybf9vqry01v3xr96l1xzzc5mkqdzf";
}; };
cargoSha256 = "0y94dywligcsqs01d228w454ssrzg31p4j8mni9flcr4v29z3rwp"; cargoHash = "sha256-l+fxk9gkM+pStBVJcsN4P2tNCuFIiBaAxpq9SLlvJHk=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] buildInputs = [ openssl ]

View file

@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
cargoPatches = [ ./fix-cargo-lock.patch ]; cargoPatches = [ ./fix-cargo-lock.patch ];
cargoSha256 = "sha256-8J92WtMmCTnghPqSmNYhG3IVdmpHsHEH7Fkod0UYKJU="; cargoHash = "sha256-8J92WtMmCTnghPqSmNYhG3IVdmpHsHEH7Fkod0UYKJU=";
# Tests require network access # Tests require network access
doCheck = false; doCheck = false;

View file

@ -32,7 +32,7 @@ buildPythonPackage rec {
rich rich
shellingham shellingham
typer typer
] ++ typer.optional-dependencies.all; ];
# No tests available # No tests available
doCheck = false; doCheck = false;

View file

@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-qGcEhoytkCkcaA5eHc8GVgWvbOIyrO6BCp+EHva6wTw="; sha256 = "sha256-qGcEhoytkCkcaA5eHc8GVgWvbOIyrO6BCp+EHva6wTw=";
}; };
cargoSha256 = "sha256-a7ADTJ0VmKiZBr951JIAOSPWucsBl5JnM8eQHWssRM4="; cargoHash = "sha256-a7ADTJ0VmKiZBr951JIAOSPWucsBl5JnM8eQHWssRM4=";
checkFlags = [ checkFlags = [
# Fails for 1.6.0, but binary works fine # Fails for 1.6.0, but binary works fine

View file

@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0aryfx9qlnjdq3iq2d823c82fhkafvibmbz58g48b8ah5x5fv3ir"; sha256 = "0aryfx9qlnjdq3iq2d823c82fhkafvibmbz58g48b8ah5x5fv3ir";
}; };
cargoSha256 = "sha256-gEpmXyLmw6bX3enA3gNVtXNMlkQl6J/8AwJQSY0RtFw="; cargoHash = "sha256-gEpmXyLmw6bX3enA3gNVtXNMlkQl6J/8AwJQSY0RtFw=";
meta = with lib; { meta = with lib; {
description = "Typing tui with visualized results and historical logging"; description = "Typing tui with visualized results and historical logging";

View file

@ -27,10 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-QLKLqTCpVMWxlDINa8Bo1vgCDcjwovoaXUs/PdMnxv0="; hash = "sha256-QLKLqTCpVMWxlDINa8Bo1vgCDcjwovoaXUs/PdMnxv0=";
}; };
# Meson doesn't find boost without these
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
nativeBuildInputs = [ nativeBuildInputs = [
git git
makeWrapper makeWrapper

View file

@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "11w86k1w5zryiq6bqr98pjhffd3l76377yz53qx0n76vc5374fk9"; sha256 = "11w86k1w5zryiq6bqr98pjhffd3l76377yz53qx0n76vc5374fk9";
}; };
cargoSha256 = "18v7agm39acnblc703278cn8py5971hm8p5kxmznpw119fjp36s5"; cargoHash = "sha256-RZtxpUsh8Gt/7bNcVGE4qfiLLENHDHAYXZapNOpTZ6M=";
meta = with lib; { meta = with lib; {
description = "Small tool to display Znodes in Zookeeper in tree structure"; description = "Small tool to display Znodes in Zookeeper in tree structure";

View file

@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-+rj6P3ejc4Qb/uqbf3N9MqyqDT7yg9JFE0yfW/uzd6M="; sha256 = "sha256-+rj6P3ejc4Qb/uqbf3N9MqyqDT7yg9JFE0yfW/uzd6M=";
}; };
cargoSha256 = "sha256-XrFpvH3qiMvpgbH7Q+KC1zFAqJT4rjxux6Q5KLY2ufI="; cargoHash = "sha256-XrFpvH3qiMvpgbH7Q+KC1zFAqJT4rjxux6Q5KLY2ufI=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -62,7 +62,7 @@
# For Vulkan support (--enable-features=Vulkan); disabled by default as it seems to break VA-API # For Vulkan support (--enable-features=Vulkan); disabled by default as it seems to break VA-API
, vulkanSupport ? false , vulkanSupport ? false
, addOpenGLRunpath , addDriverRunpath
, enableVulkan ? vulkanSupport , enableVulkan ? vulkanSupport
}: }:
@ -187,7 +187,7 @@ stdenv.mkDerivation {
''} ''}
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto}}" --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto}}"
${optionalString vulkanSupport '' ${optionalString vulkanSupport ''
--prefix XDG_DATA_DIRS : "${addOpenGLRunpath.driverLink}/share" --prefix XDG_DATA_DIRS : "${addDriverRunpath.driverLink}/share"
''} ''}
--add-flags ${escapeShellArg commandLineArgs} --add-flags ${escapeShellArg commandLineArgs}
) )

View file

@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-yYLDbxmUR86fdpbHQQTiHVUbicnOD75cl3Vhofw5qr0="; sha256 = "sha256-yYLDbxmUR86fdpbHQQTiHVUbicnOD75cl3Vhofw5qr0=";
}; };
cargoSha256 = "sha256-AHhKfy2AAcDBcknzNb8DAzm51RQqFQDuWN+Hp5731Yk="; cargoHash = "sha256-AHhKfy2AAcDBcknzNb8DAzm51RQqFQDuWN+Hp5731Yk=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config

View file

@ -35,7 +35,7 @@
, glib, gtk3, dbus-glib , glib, gtk3, dbus-glib
, libXScrnSaver, libXcursor, libXtst, libxshmfence, libGLU, libGL , libXScrnSaver, libXcursor, libXtst, libxshmfence, libGLU, libGL
, mesa , mesa
, pciutils, protobuf, speechd, libXdamage, at-spi2-core , pciutils, protobuf, speechd-minimal, libXdamage, at-spi2-core
, pipewire , pipewire
, libva , libva
, libdrm, wayland, libxkbcommon # Ozone , libdrm, wayland, libxkbcommon # Ozone
@ -196,7 +196,7 @@ let
glib gtk3 dbus-glib glib gtk3 dbus-glib
libXScrnSaver libXcursor libXtst libxshmfence libGLU libGL libXScrnSaver libXcursor libXtst libxshmfence libGLU libGL
mesa # required for libgbm mesa # required for libgbm
pciutils protobuf speechd libXdamage at-spi2-core pciutils protobuf speechd-minimal libXdamage at-spi2-core
pipewire pipewire
libva libva
libdrm wayland libxkbcommon libdrm wayland libxkbcommon
@ -224,7 +224,7 @@ let
glib gtk3 dbus-glib glib gtk3 dbus-glib
libXScrnSaver libXcursor libXtst libxshmfence libGLU libGL libXScrnSaver libXcursor libXtst libxshmfence libGLU libGL
mesa # required for libgbm mesa # required for libgbm
pciutils protobuf speechd libXdamage at-spi2-core pciutils protobuf speechd-minimal libXdamage at-spi2-core
pipewire pipewire
libva libva
libdrm wayland libxkbcommon libdrm wayland libxkbcommon

View file

@ -17,7 +17,7 @@
, pciutils , pciutils
, sndio , sndio
, libjack2 , libjack2
, speechd , speechd-minimal
, removeReferencesTo , removeReferencesTo
}: }:
@ -98,7 +98,7 @@ let
++ lib.optional sndioSupport sndio ++ lib.optional sndioSupport sndio
++ lib.optional jackSupport libjack2 ++ lib.optional jackSupport libjack2
++ lib.optional smartcardSupport opensc ++ lib.optional smartcardSupport opensc
++ lib.optional (cfg.speechSynthesisSupport or true) speechd ++ lib.optional (cfg.speechSynthesisSupport or true) speechd-minimal
++ pkcs11Modules ++ pkcs11Modules
++ gtk_modules; ++ gtk_modules;
gtk_modules = [ libcanberra-gtk3 ]; gtk_modules = [ libcanberra-gtk3 ];

View file

@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-J+ka7/B37WzVPPE2Krkd/TIiVwuKfI2QYWmT0JHgBGQ="; hash = "sha256-J+ka7/B37WzVPPE2Krkd/TIiVwuKfI2QYWmT0JHgBGQ=";
}; };
cargoSha256 = "sha256-y3Y5PnZ51Zc3LmVTijUGnb0KaGm28sWOSYxjuM3A1Zk="; cargoHash = "sha256-y3Y5PnZ51Zc3LmVTijUGnb0KaGm28sWOSYxjuM3A1Zk=";
nativeBuildInputs = [ installShellFiles pkg-config scdoc which ]; nativeBuildInputs = [ installShellFiles pkg-config scdoc which ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];

View file

@ -6,7 +6,7 @@
, libXi, libXrandr, libXrender, libXtst, libxcb, libxshmfence, mesa, nspr, nss , libXi, libXrandr, libXrender, libXtst, libxcb, libxshmfence, mesa, nspr, nss
, pango, systemd, libappindicator-gtk3, libdbusmenu, writeScript, python3, runCommand , pango, systemd, libappindicator-gtk3, libdbusmenu, writeScript, python3, runCommand
, libunity , libunity
, speechd , speechd-minimal
, wayland , wayland
, branch , branch
, withOpenASAR ? false, openasar , withOpenASAR ? false, openasar
@ -91,7 +91,7 @@ stdenv.mkDerivation rec {
libappindicator-gtk3 libappindicator-gtk3
libdbusmenu libdbusmenu
wayland wayland
] ++ lib.optional withTTS speechd); ] ++ lib.optional withTTS speechd-minimal);
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall

View file

@ -1,4 +1,4 @@
{ addOpenGLRunpath { addDriverRunpath
, alsa-lib , alsa-lib
, at-spi2-atk , at-spi2-atk
, at-spi2-core , at-spi2-core
@ -178,7 +178,7 @@ stdenv.mkDerivation {
# FIXME: Add back NIXOS_OZONE_WL support once upstream fixes the crash on native Wayland (see #318035) # FIXME: Add back NIXOS_OZONE_WL support once upstream fixes the crash on native Wayland (see #318035)
wrapProgram $executable \ wrapProgram $executable \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \ --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
--prefix LD_LIBRARY_PATH : ${rpath}:$out/opt/bytedance/feishu:${addOpenGLRunpath.driverLink}/share \ --prefix LD_LIBRARY_PATH : ${rpath}:$out/opt/bytedance/feishu:${addDriverRunpath.driverLink}/share \
${lib.optionalString (commandLineArgs!="") "--add-flags ${lib.escapeShellArg commandLineArgs}"} ${lib.optionalString (commandLineArgs!="") "--add-flags ${lib.escapeShellArg commandLineArgs}"}
done done

View file

@ -7,7 +7,7 @@
, fixup-yarn-lock , fixup-yarn-lock
, python3 , python3
, npmHooks , npmHooks
, darwin , cctools
, sqlite , sqlite
, srcOnly , srcOnly
, buildPackages , buildPackages
@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-MM6SgVT7Pjdu96A4eWRucEzT7uNPxBqUDgHKl8mH2C0="; hash = "sha256-MM6SgVT7Pjdu96A4eWRucEzT7uNPxBqUDgHKl8mH2C0=";
}; };
nativeBuildInputs = [ nodejs yarn fixup-yarn-lock python3 npmHooks.npmInstallHook ] ++ lib.optional stdenv.isDarwin darwin.cctools; nativeBuildInputs = [ nodejs yarn fixup-yarn-lock python3 npmHooks.npmInstallHook ] ++ lib.optional stdenv.isDarwin cctools;
buildInputs = [ sqlite ]; buildInputs = [ sqlite ];
configurePhase = '' configurePhase = ''

View file

@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-FtRPRR+/R3JTEI90mAEHFyhqloAbNEdR3jkquKa9Ahw="; hash = "sha256-FtRPRR+/R3JTEI90mAEHFyhqloAbNEdR3jkquKa9Ahw=";
}; };
cargoSha256 = "sha256-yjRbg/GzCs5d3zXL22j5U9c4BlOcRHyggHCovj4fMIs="; cargoHash = "sha256-yjRbg/GzCs5d3zXL22j5U9c4BlOcRHyggHCovj4fMIs=";
meta = with lib; { meta = with lib; {
description = "Tool to list listening sockets"; description = "Tool to list listening sockets";

View file

@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-Qb9fEPQrdn+Ek9bdOMfaPIxlGGpQ9RfQZOeeqoOf17E="; sha256 = "sha256-Qb9fEPQrdn+Ek9bdOMfaPIxlGGpQ9RfQZOeeqoOf17E=";
}; };
cargoSha256 = "sha256-nnAYjutjxtEpDNoWTnlESDO4Haz14wZxY4gdyzdLgBU="; cargoHash = "sha256-nnAYjutjxtEpDNoWTnlESDO4Haz14wZxY4gdyzdLgBU=";
buildInputs = [ buildInputs = [
notmuch notmuch

View file

@ -11,7 +11,7 @@
, jackSupport ? false, libjack2 , jackSupport ? false, libjack2
, pipewireSupport ? true, pipewire , pipewireSupport ? true, pipewire
, pulseSupport ? true, libpulseaudio , pulseSupport ? true, libpulseaudio
, speechdSupport ? false, speechd , speechdSupport ? false, speechd-minimal
}: }:
let let
@ -53,7 +53,7 @@ let
buildInputs = [ flac libogg libopus libsndfile libvorbis qt5.qtsvg rnnoise speex ] buildInputs = [ flac libogg libopus libsndfile libvorbis qt5.qtsvg rnnoise speex ]
++ lib.optional (!jackSupport) alsa-lib ++ lib.optional (!jackSupport) alsa-lib
++ lib.optional jackSupport libjack2 ++ lib.optional jackSupport libjack2
++ lib.optional speechdSupport speechd ++ lib.optional speechdSupport speechd-minimal
++ lib.optional pulseSupport libpulseaudio ++ lib.optional pulseSupport libpulseaudio
++ lib.optional pipewireSupport pipewire; ++ lib.optional pipewireSupport pipewire;
@ -72,7 +72,7 @@ let
++ lib.optional (!pipewireSupport) "-D pipewire=OFF" ++ lib.optional (!pipewireSupport) "-D pipewire=OFF"
++ lib.optional jackSupport "-D alsa=OFF -D jackaudio=ON"; ++ lib.optional jackSupport "-D alsa=OFF -D jackaudio=ON";
env.NIX_CFLAGS_COMPILE = lib.optionalString speechdSupport "-I${speechd}/include/speech-dispatcher"; env.NIX_CFLAGS_COMPILE = lib.optionalString speechdSupport "-I${speechd-minimal}/include/speech-dispatcher";
postFixup = '' postFixup = ''
wrapProgram $out/bin/mumble \ wrapProgram $out/bin/mumble \

View file

@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-KrvTwcIeINIBkia6PTnKXp4jFd6GEMBh/xbn0Ot/wmE="; sha256 = "sha256-KrvTwcIeINIBkia6PTnKXp4jFd6GEMBh/xbn0Ot/wmE=";
}; };
cargoSha256 = "sha256-Zft/ip+/uJbUIqCDDEa4hchmZZiYWGdaVnzWC74FgU8="; cargoHash = "sha256-Zft/ip+/uJbUIqCDDEa4hchmZZiYWGdaVnzWC74FgU8=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [

View file

@ -0,0 +1,12 @@
diff -rup rsync-3.2.7/configure.sh rsync-3.2.7-fixed/configure.sh
--- rsync-3.2.7/configure.sh 2022-10-20 17:57:22
+++ rsync-3.2.7-fixed/configure.sh 2024-01-01 19:51:58
@@ -7706,7 +7706,7 @@ else $as_nop
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
-main()
+int main()
{
if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
exit(1);

View file

@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook perl ]; nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook perl ];
patches = [
# https://github.com/WayneD/rsync/pull/558
./configure.ac-fix-failing-IPv6-check.patch
];
buildInputs = [ libiconv zlib popt ] buildInputs = [ libiconv zlib popt ]
++ lib.optional enableACLs acl ++ lib.optional enableACLs acl
++ lib.optional enableZstd zstd ++ lib.optional enableZstd zstd
@ -39,6 +44,10 @@ stdenv.mkDerivation rec {
++ lib.optional enableXXHash xxHash; ++ lib.optional enableXXHash xxHash;
configureFlags = [ configureFlags = [
(lib.enableFeature enableLZ4 "lz4")
(lib.enableFeature enableOpenSSL "openssl")
(lib.enableFeature enableXXHash "xxhash")
(lib.enableFeature enableZstd "zstd")
"--with-nobody-group=nogroup" "--with-nobody-group=nogroup"
# disable the included zlib explicitly as it otherwise still compiles and # disable the included zlib explicitly as it otherwise still compiles and
@ -47,14 +56,6 @@ stdenv.mkDerivation rec {
] ++ lib.optionals (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64) [ ] ++ lib.optionals (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64) [
# fix `multiversioning needs 'ifunc' which is not supported on this target` error # fix `multiversioning needs 'ifunc' which is not supported on this target` error
"--disable-roll-simd" "--disable-roll-simd"
] ++ lib.optionals (!enableZstd) [
"--disable-zstd"
] ++ lib.optionals (!enableXXHash) [
"--disable-xxhash"
] ++ lib.optionals (!enableLZ4) [
"--disable-lz4"
] ++ lib.optionals (!enableOpenSSL) [
"--disable-openssl"
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;

View file

@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256:04k0maxy39k7qzcsqsv1byddsmjszmnyjffrf22nzbvml83p3l0y"; hash = "sha256:04k0maxy39k7qzcsqsv1byddsmjszmnyjffrf22nzbvml83p3l0y";
}; };
cargoSha256 = "1nlzhkhk1y0jhj6n3wn4dm783ldsxn7dk0d2xjx6ylczf9z3gp12"; cargoHash = "sha256-Itw3fnKfUW+67KKB2Y7tutGBTm3E8mGNhBL4MOGEn9o=";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
postInstall = '' postInstall = ''

Some files were not shown because too many files have changed in this diff Show more