mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
This directly reads the package.json file in pkgs.rust-analyzer.src in order to generate the list of options for rust-analyzer. This avoids the need for a generator script, and makes sure that it is always in sync.
16 lines
385 B
Nix
16 lines
385 B
Nix
pkgs: rec {
|
|
efmls-configs-tools = pkgs.callPackage ./efmls-configs {};
|
|
autogenerated-configs = pkgs.callPackage ({stdenv}:
|
|
stdenv.mkDerivation {
|
|
pname = "autogenerated-configs";
|
|
version = "master";
|
|
|
|
dontUnpack = true;
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp ${efmls-configs-tools}/share/* $out
|
|
'';
|
|
}) {};
|
|
}
|