build(nix): fix markdown parser #24225

This commit is contained in:
figsoda 2023-07-02 00:09:30 -04:00 committed by GitHub
parent 54807231c0
commit 2031812348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -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";