new: packages.blender: pass for cache

new: packages.wezterm: pass for cache
This commit is contained in:
L-Nafaryus 2024-08-09 16:55:07 +05:00
parent 155ca07aa0
commit 464d0e848a
Signed by: L-Nafaryus
GPG Key ID: 553C97999B363D38
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,13 @@
{
bonLib,
lib,
pkgs,
...
}:
(pkgs.blender.override {cudaSupport = true;}).overrideAttrs (old: {
meta =
old.meta
// {
description = old.meta.description + " (CUDA enabled)";
};
})

View File

@ -18,6 +18,7 @@
craneLib = inputs.crane.mkLib pkgs; craneLib = inputs.crane.mkLib pkgs;
fenixPkgs = inputs.fenix.packages.${system}; fenixPkgs = inputs.fenix.packages.${system};
nixvimPkgs = inputs.nixvim.legacyPackages.${system}; nixvimPkgs = inputs.nixvim.legacyPackages.${system};
weztermPkgs = inputs.wezterm.packages.${system};
}; };
in in
bonLib.collectPackages platformInputs { bonLib.collectPackages platformInputs {
@ -76,6 +77,20 @@ in
builder = {pkgs, ...}: pkgs.callPackage; builder = {pkgs, ...}: pkgs.callPackage;
}; };
# Pass for cache
blender = {
source = ./blender;
platforms = ["x86_64-linux"];
builder = {...}: import;
};
wezterm = {
source = ./wezterm;
platforms = ["x86_64-linux"];
builder = {...}: import;
};
# Container images # Container images
nix-minimal = { nix-minimal = {

View File

@ -0,0 +1,16 @@
{
lib,
weztermPkgs,
...
}:
weztermPkgs.default.overrideAttrs (old: {
pname = "wezterm";
meta =
old.meta
// {
homepage = "https://github.com/wez/wezterm";
description = "A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust";
license = lib.licenses.mit;
};
})