diff --git a/flake-modules/default.nix b/flake-modules/default.nix index 59c16d98..dd88406e 100644 --- a/flake-modules/default.nix +++ b/flake-modules/default.nix @@ -10,6 +10,7 @@ ./templates.nix ./tests.nix ./wrappers.nix + ./updates ]; perSystem = diff --git a/flake-modules/updates/default.nix b/flake-modules/updates/default.nix new file mode 100644 index 00000000..900c3513 --- /dev/null +++ b/flake-modules/updates/default.nix @@ -0,0 +1,9 @@ +{ + perSystem = + { pkgs, ... }: + { + packages = { + rust-analyzer-options = pkgs.callPackage ./rust-analyzer.nix { }; + }; + }; +} diff --git a/flake-modules/updates/rust-analyzer.nix b/flake-modules/updates/rust-analyzer.nix new file mode 100644 index 00000000..fcad2fbd --- /dev/null +++ b/flake-modules/updates/rust-analyzer.nix @@ -0,0 +1,195 @@ +# +# This derivation creates a Nix file that describes the Nix module that needs to be instantiated +# +# The create file is of the form: +# +# { +# "" = { +# description = "