bonfire/packages/default.nix

43 lines
1.4 KiB
Nix
Raw Normal View History

2023-12-19 22:02:15 +05:00
# self.packages.${system}
#
2023-12-19 11:52:26 +05:00
{ self, nixpkgs, ... }:
let
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" ];
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
in forAllSystems(system:
let
pkgs = nixpkgsFor.${system};
2024-04-22 00:26:36 +05:00
bonfire = self;
bonlib = self.lib;
bonpkgs = self.packages.${system};
2024-04-22 00:26:36 +05:00
crane = self.inputs.crane;
crane-lib = self.inputs.crane.mkLib pkgs;
fenix = self.inputs.fenix;
in {
2023-12-19 11:52:26 +05:00
bonfire-docs = pkgs.callPackage ./bonfire-docs { inherit bonfire; };
netgen = pkgs.callPackage ./netgen { inherit bonfire; };
2023-12-19 11:52:26 +05:00
dearpygui = pkgs.callPackage ./dearpygui { inherit bonfire; };
2023-12-19 22:02:15 +05:00
openfoam = pkgs.callPackage ./openfoam { inherit bonfire; };
2023-12-20 11:41:51 +05:00
spoofdpi = pkgs.callPackage ./spoofdpi { inherit bonfire; };
2024-01-16 01:39:54 +05:00
lego = pkgs.callPackage ./lego { inherit bonfire; };
2024-01-19 20:00:05 +05:00
ultimmc = pkgs.libsForQt5.callPackage ./ultimmc { inherit bonfire; };
2024-04-22 00:26:36 +05:00
cargo-shuttle = pkgs.callPackage ./cargo-shuttle { inherit bonfire crane-lib; };
nix-minimal = pkgs.callPackage ./nix-minimal { inherit bonpkgs bonlib; };
nix-runner = pkgs.callPackage ./nix-runner { inherit bonpkgs bonlib; };
2023-12-19 11:52:26 +05:00
})
# map (ps: (map (p: { name = p; systems = [ ps.${p}.system ]; type = if ps.${p}?imageTag then "image" else "package"; }) (builtins.attrNames ps))) (map (s: bf.packages.${s}) (builtins.attrNames bf.packages))