about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d/snippets/nix-mode
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/snippets/nix-mode')
-rw-r--r--users/wpcarro/emacs/.emacs.d/snippets/nix-mode/shell-nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/snippets/nix-mode/shell-nix b/users/wpcarro/emacs/.emacs.d/snippets/nix-mode/shell-nix
index 45cb24e2b9e3..b5eb5a244721 100644
--- a/users/wpcarro/emacs/.emacs.d/snippets/nix-mode/shell-nix
+++ b/users/wpcarro/emacs/.emacs.d/snippets/nix-mode/shell-nix
@@ -2,12 +2,11 @@
 # name: shell.nix boilerplate
 # key: import
 # --
-let
-  briefcase = with import <briefcase> {};
-  pkgs = briefcase.third_party.pkgs;
-in stdenv.mkDerivation {
+{ pkgs, ... }:
+
+pkgs.stdenv.mkDerivation {
   name = "$1";
   buildInputs = [
     $2
   ];
-}
\ No newline at end of file
+}