aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/flake.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/flake.nix b/contrib/flake.nix
index e4d0fae99f..57e56d0fdb 100644
--- a/contrib/flake.nix
+++ b/contrib/flake.nix
@@ -46,6 +46,15 @@
};
}))
(mapAttrs (const final.fetchurl))
+ (self: self // {
+ markdown = final.stdenv.mkDerivation {
+ inherit (self.markdown) name;
+ src = self.markdown;
+ installPhase = ''
+ mv tree-sitter-markdown $out
+ '';
+ };
+ })
];
}).overrideAttrs (oa: rec {
version = self.shortRev or "dirty";