bonfire/devShells/default.nix

31 lines
776 B
Nix
Raw Normal View History

2023-12-19 22:02:15 +05:00
# self.devShells.${system}
#
2024-04-20 01:34:48 +05:00
{ self, nixpkgs, ... }:
2023-12-19 12:36:54 +05:00
let
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" ];
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
2024-04-20 01:34:48 +05:00
in forAllSystems(system:
let environment = {
2023-12-19 12:36:54 +05:00
pkgs = nixpkgsFor.${system};
2024-04-20 01:34:48 +05:00
bonfire = self;
bonfire-lib = self.lib;
bonfire-pkgs = self.packages.${system};
crane = self.inputs.crane;
crane-lib = self.inputs.crane.lib.${system};
}; in {
2023-12-19 12:36:54 +05:00
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;
2023-12-19 12:36:54 +05:00
})