new: packages.blender: pass for cache
new: packages.wezterm: pass for cache
This commit is contained in:
parent
155ca07aa0
commit
464d0e848a
13
packages/blender/default.nix
Normal file
13
packages/blender/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
bonLib,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
(pkgs.blender.override {cudaSupport = true;}).overrideAttrs (old: {
|
||||
meta =
|
||||
old.meta
|
||||
// {
|
||||
description = old.meta.description + " (CUDA enabled)";
|
||||
};
|
||||
})
|
@ -18,6 +18,7 @@
|
||||
craneLib = inputs.crane.mkLib pkgs;
|
||||
fenixPkgs = inputs.fenix.packages.${system};
|
||||
nixvimPkgs = inputs.nixvim.legacyPackages.${system};
|
||||
weztermPkgs = inputs.wezterm.packages.${system};
|
||||
};
|
||||
in
|
||||
bonLib.collectPackages platformInputs {
|
||||
@ -76,6 +77,20 @@ in
|
||||
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
|
||||
|
||||
nix-minimal = {
|
||||
|
16
packages/wezterm/default.nix
Normal file
16
packages/wezterm/default.nix
Normal 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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user