ufo/flake.nix

14 lines
435 B
Nix
Raw Normal View History

2023-09-07 23:08:31 +08:00
{
2023-09-11 19:54:50 +08:00
inputs.nixos.url = "github:CHN-beta/nixos";
2023-09-07 23:08:31 +08:00
2023-09-11 19:54:50 +08:00
outputs = inputs: let pkgs = inputs.nixos.nixosConfigurations.pc.pkgs; in
2023-09-07 23:08:31 +08:00
{
2023-09-11 19:54:50 +08:00
devShell.x86_64-linux = pkgs.mkShell.override { stdenv = pkgs.genericPackages.gcc13Stdenv; }
2023-09-07 23:08:31 +08:00
{
2023-09-11 19:54:50 +08:00
buildInputs = with pkgs;
[ yaml-cpp eigen fmt (localPackages.concurrencpp.override { stdenv = genericPackages.gcc13Stdenv; }) ];
2023-09-08 06:39:52 +08:00
nativeBuildInputs = with pkgs; [ gdb ];
2023-09-07 23:08:31 +08:00
};
};
}