L-Nafaryus
25a4c9af9c
All checks were successful
nix / check (push) Successful in 2m59s
astora: exclude hyprland and some tools for kde expansion lib.preconfiguredModules: common nixos configurations lib.preconfiguredModules.bonvim: change python tool set, remove deprecations packages.wezterm: exclude from evaluation [see #8] nixosModules.zapret: exclude from evaluation [see #9]
119 lines
2.6 KiB
Nix
119 lines
2.6 KiB
Nix
# self.packages.${system}
|
|
#
|
|
{
|
|
lib,
|
|
bonLib,
|
|
self,
|
|
inputs,
|
|
...
|
|
}: let
|
|
platformInputs = system: rec {
|
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
|
#pkgs = import inputs.nixpkgs {
|
|
# inherit system;
|
|
# config.allowUnfree = true;
|
|
#};
|
|
lib = pkgs.lib;
|
|
|
|
inherit bonLib;
|
|
bonModules = self.nixosModules;
|
|
bonPkgs = self.packages.${system};
|
|
|
|
craneLib = inputs.crane.mkLib pkgs;
|
|
fenixPkgs = inputs.fenix.packages.${system};
|
|
nixvimPkgs = inputs.nixvim.legacyPackages.${system};
|
|
weztermPkgs = inputs.wezterm.packages.${system};
|
|
};
|
|
in
|
|
bonLib.collectPackages platformInputs {
|
|
bonfire-docs = {
|
|
source = ./bonfire-docs;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
extraArgs = {inherit self;};
|
|
};
|
|
|
|
netgen = {
|
|
source = ./netgen;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
|
|
dearpygui = {
|
|
source = ./dearpygui;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
|
|
openfoam = {
|
|
source = ./openfoam;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
|
|
spoofdpi = {
|
|
source = ./spoofdpi;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
|
|
ultimmc = {
|
|
source = ./ultimmc;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.libsForQt5.callPackage;
|
|
};
|
|
|
|
cargo-shuttle = {
|
|
source = ./cargo-shuttle;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
|
|
bonvim = {
|
|
source = ./bonvim;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {...}: import;
|
|
};
|
|
|
|
zapret = {
|
|
source = ./zapret;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
|
|
# Pass for cache
|
|
|
|
# ISSUE: attribute 'targetPlatforms' missing
|
|
#wezterm = {
|
|
# source = ./wezterm;
|
|
# platforms = ["x86_64-linux"];
|
|
# builder = {...}: import;
|
|
#};
|
|
|
|
# Container images
|
|
|
|
nix-minimal = {
|
|
source = ./nix-minimal;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
|
|
nix-runner = {
|
|
source = ./nix-runner;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
|
|
postgresql = {
|
|
source = ./postgresql;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
|
|
redis = {
|
|
source = ./redis;
|
|
platforms = ["x86_64-linux"];
|
|
builder = {pkgs, ...}: pkgs.callPackage;
|
|
};
|
|
}
|