~sumner/pr-tracker

8ed1a6753ca57ab66b187da1ae381e63b823a492 — Sumner Evans 6 months ago 5f49502
add shell.nix for development
3 files changed, 20 insertions(+), 0 deletions(-)

A .envrc
M .gitignore
A shell.nix
A .envrc => .envrc +1 -0
@@ 0,0 1,1 @@
use nix

M .gitignore => .gitignore +1 -0
@@ 2,3 2,4 @@
# SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is>

/target
.direnv

A shell.nix => shell.nix +18 -0
@@ 0,0 1,18 @@
let
  pkgs = import <nixpkgs> { };
in
with pkgs; mkShell {
  buildInputs = [
    cargo
    cmake
    libgit2
    openssl
    pkgconfig
    rnix-lsp
    rust-analyzer
    s6-networking
    systemd
    zlib
  ];
  shellHook = ''export CFG_DISABLE_CROSS_TESTS=1'';
}