Add snippet to create a nix shell

This commit is contained in:
ant 2024-06-03 09:13:52 +02:00
parent 536f95a454
commit afa5c64b7a
2 changed files with 10 additions and 1 deletions

8
snippets/nix.snippets Normal file
View file

@ -0,0 +1,8 @@
snippet shell nix-shell
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
$1
];
}