flake.nix 425 B

1234567891011121314151617
  1. {
  2. description = "Synapse (development)";
  3. inputs = {
  4. utils.url = "github:numtide/flake-utils";
  5. };
  6. outputs = { self, nixpkgs, utils }:
  7. utils.lib.eachDefaultSystem (system: let
  8. pkgs = nixpkgs.legacyPackages."${system}";
  9. in rec {
  10. # `nix develop`
  11. devShell = pkgs.mkShell {
  12. nativeBuildInputs = with pkgs; [ rustc cargo python sqlite poetry postgresql icu clang ];
  13. };
  14. });
  15. }