about summary refs log tree commit diff
path: root/emacs/.emacs.d/snippets/nix-mode/shell-nix
blob: 45cb24e2b9e33e97dd6fdae95b919963c3b4d4cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- mode: snippet -*-
# name: shell.nix boilerplate
# key: import
# --
let
  briefcase = with import <briefcase> {};
  pkgs = briefcase.third_party.pkgs;
in stdenv.mkDerivation {
  name = "$1";
  buildInputs = [
    $2
  ];
}