0c71fc9d1d
In the spirit of Marie Kondo, I'm tidying up! TL;DR: - Prefer .envrc `use_nix` and delete all dir-locals.nix files - Remove ~all references to <nixpkgs>, <unstable>, <depot> and prefer referencing each with briefcase.third_party.{pkgs,unstable,depot} - Delete nixBufferFromShell function since I was only using that in dir-locals.nix files
13 lines
No EOL
227 B
Text
13 lines
No EOL
227 B
Text
# -*- 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
|
|
];
|
|
} |