Merge remote-tracking branch 'origin/master' into staging-next
This commit is contained in:
@@ -204,11 +204,22 @@ in
|
||||
|
||||
prime.offload.enableOffloadCmd = lib.mkEnableOption ''
|
||||
adding a `nvidia-offload` convenience script to {option}`environment.systemPackages`
|
||||
for offloading programs to an nvidia device. To work, should have also enabled
|
||||
for offloading programs to an nvidia device. To work, you must also enable
|
||||
{option}`hardware.nvidia.prime.offload.enable` or {option}`hardware.nvidia.prime.reverseSync.enable`.
|
||||
|
||||
Example usage `nvidia-offload sauerbraten_client`
|
||||
Example usage: `nvidia-offload sauerbraten_client`
|
||||
|
||||
This script can be renamed with {option}`hardware.nvidia.prime.offload.enableOffloadCmd`.
|
||||
'';
|
||||
prime.offload.offloadCmdMainProgram = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = ''
|
||||
Specifies the CLI name of the {option}`hardware.nvidia.prime.offload.enableOffloadCmd`
|
||||
convenience script for offloading programs to an nvidia device.
|
||||
'';
|
||||
default = "nvidia-offload";
|
||||
example = "prime-run";
|
||||
};
|
||||
|
||||
prime.reverseSync.enable = lib.mkEnableOption ''
|
||||
NVIDIA Optimus support using the NVIDIA proprietary driver via reverse
|
||||
@@ -558,7 +569,7 @@ in
|
||||
lib.optional cfg.nvidiaSettings nvidia_x11.settings
|
||||
++ lib.optional cfg.nvidiaPersistenced nvidia_x11.persistenced
|
||||
++ lib.optional offloadCfg.enableOffloadCmd (
|
||||
pkgs.writeShellScriptBin "nvidia-offload" ''
|
||||
pkgs.writeShellScriptBin cfg.prime.offload.offloadCmdMainProgram ''
|
||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
||||
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "exercism";
|
||||
version = "3.5.4";
|
||||
version = "3.5.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "exercism";
|
||||
repo = "cli";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-7euitdo/rdeopnP7hHHxQ5lPh8wJVDaTneckeR5BEGo=";
|
||||
hash = "sha256-Xz+yTCFwMKd8P3PKX8e3L+XFvt0ntZrOgxnsnrFio6g=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-xY3C3emqtPIKyxIN9aEkrLXhTxWNmo0EJXNZVtbtIvs=";
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
|
||||
clangStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "objfw";
|
||||
version = "1.3";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchfossil {
|
||||
url = "https://objfw.nil.im/home";
|
||||
rev = "${finalAttrs.version}-release";
|
||||
hash = "sha256-2ESlN3BeVWZElcQLgjMs8B7HRTC0xHuYrLH362npa+Q=";
|
||||
hash = "sha256-RhdZyVtBLsv5nP61pmTE2zYX1vS8Cdo+0ZqqVc8ljzQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "simdjson";
|
||||
version = "3.12.3";
|
||||
version = "3.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simdjson";
|
||||
repo = "simdjson";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/FfaM5BTWKrt2m70+VcUXz//RiZuzxnUOaHOjPJWsGw=";
|
||||
sha256 = "sha256-Vzw1FpFjg3Tun1Sfk7H4h4tY7lfnjE1Wk+W82K7dcW0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pandoc-latex-environment";
|
||||
version = "1.2.0.0";
|
||||
version = "1.2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chdemko";
|
||||
repo = "pandoc-latex-environment";
|
||||
tag = version;
|
||||
hash = "sha256-DdDCwysTCiDg1rXO3pvI5m6lIcdAXhsnwEEgvG/ErBM=";
|
||||
hash = "sha256-uyOqw8YnTljgXkwZOXTXAsnobVSV65EVicohREBNMCY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -592,6 +592,7 @@ mapAliases {
|
||||
electronplayer = throw "'electronplayer' has been removed as it had been discontinued upstream since October 2024"; # Added 2024-12-17
|
||||
|
||||
element-desktop-wayland = throw "element-desktop-wayland has been removed. Consider setting NIXOS_OZONE_WL=1 via 'environment.sessionVariables' instead"; # Added 2024-12-17
|
||||
elementsd-simplicity = throw "'elementsd-simplicity' has been removed due to lack of maintenance, consider using 'elementsd' instead"; # Added 2025-06-04
|
||||
|
||||
elixir_ls = elixir-ls; # Added 2023-03-20
|
||||
|
||||
|
||||
@@ -14691,15 +14691,6 @@ with pkgs;
|
||||
withGui = false;
|
||||
inherit (darwin) autoSignDarwinBinariesHook;
|
||||
};
|
||||
elementsd-simplicity = elementsd.overrideAttrs {
|
||||
version = "unstable-2023-04-18";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ElementsProject";
|
||||
repo = "elements";
|
||||
rev = "ea318a45094ab3d31dd017d7781a6f28f1ffaa33"; # simplicity branch latest
|
||||
hash = "sha256-ooe+If3HWaJWpr2ux7DpiCTqB9Hv+aXjquEjplDjvhM=";
|
||||
};
|
||||
};
|
||||
|
||||
fulcrum = libsForQt5.callPackage ../applications/blockchains/fulcrum { };
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
lib,
|
||||
newScope,
|
||||
stdenv,
|
||||
runCommand,
|
||||
}:
|
||||
let
|
||||
inherit (lib)
|
||||
@@ -150,7 +151,10 @@ let
|
||||
[
|
||||
(
|
||||
final: _:
|
||||
lib.packagesFromDirectoryRecursive {
|
||||
{
|
||||
cuda_compat = runCommand "cuda_compat" { meta.platforms = [ ]; } "false"; # Prevent missing attribute errors
|
||||
}
|
||||
// lib.packagesFromDirectoryRecursive {
|
||||
inherit (final) callPackage;
|
||||
directory = ../development/cuda-modules/packages;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user