bonfire/devShells/default.nix

34 lines
762 B
Nix
Raw Normal View History

2023-12-19 22:02:15 +05:00
# self.devShells.${system}
#
{
self,
nixpkgs,
...
}: let
forAllSystems = nixpkgs.lib.genAttrs ["x86_64-linux"];
nixpkgsFor = forAllSystems (system: import nixpkgs {inherit system;});
in
forAllSystems (system: let
environment = rec {
pkgs = nixpkgsFor.${system};
2023-12-19 12:36:54 +05:00
bonfire = self;
bonfire-lib = self.lib;
bonfire-pkgs = self.packages.${system};
2024-04-20 01:34:48 +05:00
crane = self.inputs.crane;
crane-lib = self.inputs.crane.mkLib pkgs;
};
in {
2024-04-20 01:34:48 +05:00
default = import ./bonfire.nix environment;
netgen = import ./netgen.nix environment;
2023-12-19 22:02:15 +05:00
2024-04-20 01:34:48 +05:00
openfoam = import ./openfoam.nix environment;
2024-04-20 01:34:48 +05:00
rust = import ./rust.nix environment;
rust-x11 = import ./rust-x11.nix environment;
2024-01-10 10:54:51 +05:00
2024-04-20 01:34:48 +05:00
go = import ./go.nix environment;
})