diff options
Diffstat (limited to 'overrides')
-rw-r--r-- | overrides/writeElispBin/default.nix | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/overrides/writeElispBin/default.nix b/overrides/writeElispBin/default.nix deleted file mode 100644 index 1b3ba054430b..000000000000 --- a/overrides/writeElispBin/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ depot, pkgs, ... }: - -{ name, src, deps ? (_: []), emacs ? pkgs.emacs26-nox }: - -let - inherit (pkgs) emacsPackages emacsPackagesGen; - inherit (builtins) isString toFile; - - finalEmacs = (emacsPackagesGen emacs).emacsWithPackages deps; - - srcFile = if isString src - then toFile "${name}.el" src - else src; - -in depot.nix.writeScriptBin name '' - #!/bin/sh - ${finalEmacs}/bin/emacs --batch --no-site-file --script ${srcFile} $@ -'' |