mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 04:35:08 +02:00
flake: Move helper derivations in a separate directory (#544)
This commit is contained in:
parent
fd88522893
commit
09cefd2751
4 changed files with 62 additions and 48 deletions
16
helpers/default.nix
Normal file
16
helpers/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
pkgs: rec {
|
||||
rust-analyzer-config = pkgs.callPackage ./rust-analyzer {};
|
||||
autogenerated-configs = pkgs.callPackage ({stdenv}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "autogenerated-configs";
|
||||
version = "master";
|
||||
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp ${rust-analyzer-config}/share/* $out
|
||||
'';
|
||||
}) {};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue