emacs.pkgs.tsc/tree-sitter-langs: Remove rec
from derivations
These are not required.
This commit is contained in:
parent
4567405cd4
commit
2c61820661
@ -10,14 +10,15 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
version = "0.10.14";
|
version = "0.10.14";
|
||||||
tree-sitter-grammars = stdenv.mkDerivation rec {
|
|
||||||
|
tree-sitter-grammars = stdenv.mkDerivation {
|
||||||
name = "tree-sitter-grammars";
|
name = "tree-sitter-grammars";
|
||||||
|
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip rec {
|
||||||
name = "tree-sitter-grammars-linux-${version}.tar.gz";
|
name = "tree-sitter-grammars-linux-${version}.tar.gz";
|
||||||
url = "https://github.com/emacs-tree-sitter/tree-sitter-langs/releases/download/${version}/${src.name}";
|
url = "https://github.com/emacs-tree-sitter/tree-sitter-langs/releases/download/${version}/${name}";
|
||||||
sha256 = "sha256-J8VplZWhyWN8ur74Ep0CTl4nPtESzfs2Gh6MxfY5Zqc=";
|
sha256 = "sha256-J8VplZWhyWN8ur74Ep0CTl4nPtESzfs2Gh6MxfY5Zqc=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
@ -28,7 +29,8 @@ let
|
|||||||
install -m444 * $out/langs/bin
|
install -m444 * $out/langs/bin
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in melpaBuild rec {
|
|
||||||
|
in melpaBuild {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
pname = "tree-sitter-langs";
|
pname = "tree-sitter-langs";
|
||||||
|
@ -18,7 +18,7 @@ let
|
|||||||
sha256 = "sha256-tAohHdAsy/HTFFPSNOo0UyrdolH8h0KF2ekFXuLltBE=";
|
sha256 = "sha256-tAohHdAsy/HTFFPSNOo0UyrdolH8h0KF2ekFXuLltBE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
tsc = melpaBuild rec {
|
tsc = melpaBuild {
|
||||||
inherit src;
|
inherit src;
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user