about summary refs log tree commit diff
path: root/overlays/patches/emacs/overlay/repos/nongnu/update
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/patches/emacs/overlay/repos/nongnu/update')
-rwxr-xr-xoverlays/patches/emacs/overlay/repos/nongnu/update9
1 files changed, 9 insertions, 0 deletions
diff --git a/overlays/patches/emacs/overlay/repos/nongnu/update b/overlays/patches/emacs/overlay/repos/nongnu/update
new file mode 100755
index 000000000000..9255b647c752
--- /dev/null
+++ b/overlays/patches/emacs/overlay/repos/nongnu/update
@@ -0,0 +1,9 @@
+#!/usr/bin/env nix-shell
+#! nix-shell -i bash -p bash
+set -euxo pipefail
+
+SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
+cd $SCRIPTPATH
+
+eval $(nix-instantiate --eval --expr 'let nixpath = builtins.toString (import <nixpkgs> {}).path; in "${nixpath}/pkgs/applications/editors/emacs/elisp-packages/update-nongnu"')
+env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ./test.nix -A nongnuPackages