about summary refs log tree commit diff
path: root/emacs/.emacs.d/snippets/nix-mode/shell-nix
blob: 4c308bb51b3ab21e5cd3abd93329dbb0e52d7133 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- mode: snippet -*-
# name: shell.nix boilerplate
# key: import
# --
with import <nixpkgs> {};

stdenv.mkDerivation {
  name = "$1";
  buildInputs = [
    $2
  ];
}