bonfire/devShells/default.nix

24 lines
683 B
Nix
Raw Normal View History

2023-12-19 22:02:15 +05:00
# self.devShells.${system}
#
{ self, nixpkgs, crane, ... }:
2023-12-19 12:36:54 +05:00
let
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" ];
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
in forAllSystems(system: let
pkgs = nixpkgsFor.${system};
bpkgs = self.packages.${system};
blib = self.lib;
cranelib = crane.lib.${system};
2023-12-19 12:36:54 +05:00
in {
netgen = import ./netgen.nix { inherit pkgs bpkgs; };
2023-12-19 22:02:15 +05:00
openfoam = import ./openfoam.nix { inherit pkgs bpkgs; };
rust = import ./rust.nix { inherit pkgs cranelib; };
2024-01-13 11:54:07 +05:00
rust-x11 = import ./rust-x11.nix { inherit pkgs cranelib; };
2024-01-10 10:54:51 +05:00
go = import ./go.nix { inherit pkgs; };
2023-12-19 12:36:54 +05:00
})