1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 00:16:11 -04:00

Update cmark source code so we can parser into an existing AST

Needed until https://github.com/commonmark/cmark/pull/524 is released.

• Added input 'cmark':
    'github:commonmark/cmark/cd37711b8a08da67ba4e21a42614b86dd8def929' (2024-01-26)
This commit is contained in:
John Ericson 2024-01-26 22:26:05 -05:00
parent d17d358d10
commit f9d7c8021d
3 changed files with 24 additions and 0 deletions

View file

@ -1,5 +1,21 @@
{
"nodes": {
"cmark": {
"flake": false,
"locked": {
"lastModified": 1706295831,
"narHash": "sha256-nEI85W8w49ZVr17ycO+7aZvcgA3U2QphNZGrfQl2mSk=",
"owner": "commonmark",
"repo": "cmark",
"rev": "cd37711b8a08da67ba4e21a42614b86dd8def929",
"type": "github"
},
"original": {
"owner": "commonmark",
"repo": "cmark",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -128,6 +144,7 @@
},
"root": {
"inputs": {
"cmark": "cmark",
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",
"git-hooks-nix": "git-hooks-nix",

View file

@ -6,6 +6,8 @@
inputs.nixpkgs-23-11.url = "github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446";
inputs.flake-compat = { url = "github:edolstra/flake-compat"; flake = false; };
inputs.libgit2 = { url = "github:libgit2/libgit2/v1.8.1"; flake = false; };
# Until https://github.com/commonmark/cmark/pull/524 is released
inputs.cmark = { url = "github:commonmark/cmark"; flake = false; };
# dev tooling
inputs.flake-parts.url = "github:hercules-ci/flake-parts";

View file

@ -140,6 +140,11 @@ scope: {
];
});
cmark = pkgs.cmark.overrideAttrs (_: {
src = inputs.cmark;
version = inputs.lastModifiedDate;
});
busybox-sandbox-shell = pkgs.busybox-sandbox-shell or (pkgs.busybox.override {
useMusl = true;
enableStatic = true;