mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 03:09:35 +01: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:
parent
d17d358d10
commit
f9d7c8021d
3 changed files with 24 additions and 0 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -1,5 +1,21 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"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-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
@ -128,6 +144,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"cmark": "cmark",
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"git-hooks-nix": "git-hooks-nix",
|
"git-hooks-nix": "git-hooks-nix",
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@
|
||||||
inputs.nixpkgs-23-11.url = "github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446";
|
inputs.nixpkgs-23-11.url = "github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446";
|
||||||
inputs.flake-compat = { url = "github:edolstra/flake-compat"; flake = false; };
|
inputs.flake-compat = { url = "github:edolstra/flake-compat"; flake = false; };
|
||||||
inputs.libgit2 = { url = "github:libgit2/libgit2/v1.8.1"; 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
|
# dev tooling
|
||||||
inputs.flake-parts.url = "github:hercules-ci/flake-parts";
|
inputs.flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
busybox-sandbox-shell = pkgs.busybox-sandbox-shell or (pkgs.busybox.override {
|
||||||
useMusl = true;
|
useMusl = true;
|
||||||
enableStatic = true;
|
enableStatic = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue