Skip to content

Commit a127393

Browse files
snippets/nix-mode: add callPackage
1 parent 6924f53 commit a127393

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

snippets.html

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

snippets/nix-mode/callPackage

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# -*- mode: snippet -*-
2+
# name: callPackage
3+
# key: ca
4+
# --
5+
$1 = callPackage ../$2/$1 { };
6+
$0

0 commit comments

Comments
 (0)