bonfire/devShells/default.nix

21 lines
573 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; };
2023-12-19 12:36:54 +05:00
})