misc: devenv

This commit is contained in:
Roman Godmaire 2024-05-10 11:23:38 -04:00
parent e54d095c5f
commit c855b216ee
3 changed files with 22 additions and 0 deletions

3
.envrc Normal file
View file

@ -0,0 +1,3 @@
source_url "https://raw.githubusercontent.com/cachix/devenv/95f329d49a8a5289d31e0982652f7058a189bfca/direnvrc" "sha256-d+8cBpDfDBj41inrADaJt+bDWhOktwslgoP5YiGJ1v0="
use devenv

5
devenv.nix Normal file
View file

@ -0,0 +1,5 @@
{ pkgs, ... }:
{
packages = with pkgs; [ clang cargo-insta cargo-tarpaulin ];
}

14
devenv.yaml Normal file
View file

@ -0,0 +1,14 @@
inputs:
nixpkgs:
url: github:cachix/devenv-nixpkgs/rolling
# If you're using non-OSS software, you can set allowUnfree to true.
# allowUnfree: true
# If you're willing to use a package that's vulnerable
# permittedInsecurePackages:
# - "openssl-1.1.1w"
# If you have more than one devenv you can merge them
#imports:
# - ./backend