fix(tools/emacs-pkgs/nix-util): require missing dependencies

We can't use cl-lib as that apparently doesn't contain lexical-let*.

Change-Id: I8e65d20215ae5667bb92b71e6318ad9d66125320
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4941
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
sterni 2022-01-15 11:57:47 +01:00
parent 005cd4037a
commit a6304a1e33
2 changed files with 5 additions and 1 deletions

View file

@ -4,4 +4,5 @@ depot.tools.emacs-pkgs.buildEmacsPackage {
pname = "nix-util";
version = "1.0";
src = ./nix-util.el;
externalRequires = epkgs: [ epkgs.s ];
}

View file

@ -1,18 +1,21 @@
;;; nix-util.el --- Utilities for dealing with Nix code. -*- lexical-binding: t; -*-
;;
;; Copyright (C) 2019 Google Inc.
;; Copyright (C) 2022 The TVL Authors
;;
;; Author: Vincent Ambo <tazjin@google.com>
;; Version: 1.0
;; Package-Requires: (json map)
;; Package-Requires: (cl json map s)
;;
;;; Commentary:
;;
;; This package adds some functionality that I find useful when
;; working in Nix buffers or programs installed from Nix.
(require 'cl)
(require 'json)
(require 'map)
(require 's)
(defvar nix-depot-path "/home/tazjin/depot")