Skip to content

Commit

Permalink
added bacon to flake
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbchron committed Jan 31, 2024
1 parent 27e6357 commit f9a52f5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions engine/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,17 @@
engine = craneLib.buildPackage (common_args // {
cargoArtifacts = engine_deps;
});

surreal_deps = [ pkgs.surrealdb ];
rust_dev_deps = [ pkgs.bacon ];
in {
defaultPackage = engine;

devShell = pkgs.mkShell {
nativeBuildInputs = [
toolchain
pkgs.surrealdb
] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [
] ++ surreal_deps ++ rust_dev_deps
++ pkgs.lib.optionals pkgs.stdenv.isDarwin [
pkgs.darwin.Security
];
};
Expand Down

0 comments on commit f9a52f5

Please sign in to comment.