summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-11-13 09:13:14 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-11-13 09:17:04 -0300
commitfed3699eb5255e662898db1ca2131aecf968a0db (patch)
treee6b41068b62927b009e2b6b52fc0ed2c7711ed4a
parenttreewide: move all ad-hoc elisp packages to manual-packages/ (diff)
downloadnixpkgs-fed3699eb5255e662898db1ca2131aecf968a0db.tar.gz
tree-sitter-langs: fixup update-defaults.py
The nix-shell line should always point out to the repo's `default.nix`.
-rwxr-xr-xpkgs/applications/editors/emacs/elisp-packages/manual-packages/tree-sitter-langs/update-defaults.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/tree-sitter-langs/update-defaults.py b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/tree-sitter-langs/update-defaults.py
index 19bcb8989c30..128ce66dda8b 100755
--- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/tree-sitter-langs/update-defaults.py
+++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/tree-sitter-langs/update-defaults.py
@@ -1,5 +1,6 @@
#!/usr/bin/env nix-shell
-#! nix-shell ../../../../../../. -i python3 -p python3 -p nix
+#! nix-shell ../../../../../../../. -i python3 -p python3 -p nix
+
from os.path import (
dirname,
abspath,