mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-03 12:27:27 -05:00
16
.github/workflows/test_dep_update.sh
vendored
16
.github/workflows/test_dep_update.sh
vendored
@ -7,9 +7,23 @@ git branch depupdate
|
|||||||
git checkout depupdate
|
git checkout depupdate
|
||||||
git reset --hard origin/master
|
git reset --hard origin/master
|
||||||
json="$(gh pr list --search "author:app/github-actions" --json headRefName,number)"
|
json="$(gh pr list --search "author:app/github-actions" --json headRefName,number)"
|
||||||
|
# If there's no updates then the CI action will fail without this, which is more common if we reduce the schedule from 24 hours.
|
||||||
|
if [[ $json == "[]" ]]; then
|
||||||
|
echo "No Dependency update PRs to merge"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
echo "$json" | jq '.[] | .headRefName | @text' | xargs -L1 -- git pull origin
|
echo "$json" | jq '.[] | .headRefName | @text' | xargs -L1 -- git pull origin
|
||||||
if nix build .#checks.x86_64-linux.init-example-el; then
|
if nix build .#checks.x86_64-linux.init-example-el; then
|
||||||
echo "$json" | jq ".[] | .number | @text" | xargs -L1 -- gh pr merge --squash --delete-branch
|
prs=$(echo "$json" | jq ".[] | .number")
|
||||||
|
for pr in $prs; do
|
||||||
|
# Whenever there's a bunch of PRs to merge at the same time
|
||||||
|
# the GitHub API needs some time to update its internal
|
||||||
|
# state before allowing another PR to be merged.
|
||||||
|
sleep 5
|
||||||
|
|
||||||
|
gh pr merge --squash --delete-branch "$pr"
|
||||||
|
done
|
||||||
else
|
else
|
||||||
gh issue create \
|
gh issue create \
|
||||||
--title "Recent Dependency update PRs failing tests" \
|
--title "Recent Dependency update PRs failing tests" \
|
||||||
|
2
.github/workflows/update_init_el.py
vendored
2
.github/workflows/update_init_el.py
vendored
@ -16,7 +16,7 @@ DRY_RUN = bool(env.get("GITHUB_DRY_RUN", False))
|
|||||||
|
|
||||||
INIT_EL = "test/doom.d/init.el"
|
INIT_EL = "test/doom.d/init.el"
|
||||||
UPSTREAM_INIT_EL = "init.example.el"
|
UPSTREAM_INIT_EL = "init.example.el"
|
||||||
DOOM_UPSTREAM = "hlissner/doom-emacs"
|
DOOM_UPSTREAM = "doomemacs/doomemacs"
|
||||||
UPSTREAM_BRANCH = "develop"
|
UPSTREAM_BRANCH = "develop"
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
| Dependency updater | [](https://github.com/nix-community/nix-doom-emacs/actions/workflows/update-dependencies.yml?query=branch%3Amaster) |
|
| Dependency updater | [](https://github.com/nix-community/nix-doom-emacs/actions/workflows/update-dependencies.yml?query=branch%3Amaster) |
|
||||||
|
|
||||||
Nix expression to install and configure
|
Nix expression to install and configure
|
||||||
[doom-emacs](https://github.com/hlissner/doom-emacs).
|
[doom-emacs](https://github.com/doomemacs/doomemacs).
|
||||||
|
|
||||||
The expression builds a `doom-emacs` distribution with dependencies
|
The expression builds a `doom-emacs` distribution with dependencies
|
||||||
pre-installed based on an existing `~/.doom.d` directory.
|
pre-installed based on an existing `~/.doom.d` directory.
|
||||||
|
0
dbgmd-00001.sign
Normal file
0
dbgmd-00001.sign
Normal file
68
flake.lock
generated
68
flake.lock
generated
@ -3,44 +3,44 @@
|
|||||||
"doom-emacs": {
|
"doom-emacs": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1651775574,
|
"lastModified": 1654347726,
|
||||||
"narHash": "sha256-ux4bzsQJmSxscLrtLR5h2SbXGlt4mKS0B1ffzvO35Ng=",
|
"narHash": "sha256-B4N+UQ0SvnCH0Hqc62Wl1KS6WcTBGLag0BoH3UZGbgo=",
|
||||||
"owner": "hlissner",
|
"owner": "doomemacs",
|
||||||
"repo": "doom-emacs",
|
"repo": "doomemacs",
|
||||||
"rev": "80cd7557e147ccd0abef05ff4eafb93fe9545ad4",
|
"rev": "bea3cc161c0a803dcf574f32ee555dccf565a5ce",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "hlissner",
|
"owner": "doomemacs",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"repo": "doom-emacs",
|
"repo": "doomemacs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"doom-snippets": {
|
"doom-snippets": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1651709822,
|
"lastModified": 1651768501,
|
||||||
"narHash": "sha256-/PJwt5EuTuUwTD8fmt9vYye3PyPVF0Mrco+Ext0KEJ4=",
|
"narHash": "sha256-55mHNFfn3N8k4aWgswX9buATsOhQTJ0L05UaUNNMgDg=",
|
||||||
"owner": "hlissner",
|
"owner": "doomemacs",
|
||||||
"repo": "doom-snippets",
|
"repo": "snippets",
|
||||||
"rev": "2596cead5e03896996b7268d057c1d734180547f",
|
"rev": "f74b11b1e0fe8481e20f3065e355efe627e635de",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "hlissner",
|
"owner": "doomemacs",
|
||||||
"repo": "doom-snippets",
|
"repo": "snippets",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"emacs-overlay": {
|
"emacs-overlay": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1651724664,
|
"lastModified": 1655032304,
|
||||||
"narHash": "sha256-/Z0AkB2DAxMdOaFYBSkTPjHrMH2e3kReuLEtpLQZfk4=",
|
"narHash": "sha256-t0E7c7V+hk6ILXl4+TBLqQfqq8/4IKyb/cFg0a8mqI8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "1deb4d66be3117dd0d9dbf31fd458035e0f3c4de",
|
"rev": "a73897fc387a83c8dd2142ed597041113954ec23",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -131,11 +131,11 @@
|
|||||||
},
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1649676176,
|
"lastModified": 1653893745,
|
||||||
"narHash": "sha256-OWKJratjt2RW151VUlJPRALb7OU2S5s+f0vLj4o1bHM=",
|
"narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "a4b154ebbdc88c8498a5c7b01589addc9e9cb678",
|
"rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -179,11 +179,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1651779476,
|
"lastModified": 1654964420,
|
||||||
"narHash": "sha256-wPXzrSdad3qocoz2t375Gtm/2sh2+e2A/Iqsc9+oiF4=",
|
"narHash": "sha256-Pu9TvVyWMLH362RGBYKMgX2ILSxRPtWovBmBC2s6Zjo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "020b061a1aef9e678770295f86b1f58007e284eb",
|
"rev": "419e07c3823fff0bbe24b2759a2d73a01ecd3c69",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -227,11 +227,11 @@
|
|||||||
"org": {
|
"org": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1651675049,
|
"lastModified": 1654949849,
|
||||||
"narHash": "sha256-lReN2q3o6CUDT8dDsj+LZ4ptzG9E2PwNv5JWWb5D5B4=",
|
"narHash": "sha256-1xGPQv2rFF4KglqwjKz+1uzB81nqa+6lgXPpnU3mduE=",
|
||||||
"owner": "emacs-straight",
|
"owner": "emacs-straight",
|
||||||
"repo": "org-mode",
|
"repo": "org-mode",
|
||||||
"rev": "d2a459d2596a0cfb1389207b117533389fa59e0f",
|
"rev": "ed6f8dc67f5f1abf6b20929bdb571def2c191006",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -243,11 +243,11 @@
|
|||||||
"org-contrib": {
|
"org-contrib": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1639727892,
|
"lastModified": 1654411077,
|
||||||
"narHash": "sha256-+T6Y87aSAx7kMpigm8d1ODDQIyPBM6a+4qGolXjCEXs=",
|
"narHash": "sha256-ywXAI+s+D701PvuDEQljDmFWrTPymqustSYVyf3NYRk=",
|
||||||
"ref": "master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "5766ff1088191e4df5fecd55007ba4271e609bcc",
|
"rev": "c6aef31ccfc7c4418c3b51e98f7c3bd8e255f5e6",
|
||||||
"revCount": 2611,
|
"revCount": 2622,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.sr.ht/~bzg/org-contrib"
|
"url": "https://git.sr.ht/~bzg/org-contrib"
|
||||||
},
|
},
|
||||||
@ -291,11 +291,11 @@
|
|||||||
"revealjs": {
|
"revealjs": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1651495761,
|
"lastModified": 1653993278,
|
||||||
"narHash": "sha256-B3L8h0CyYgZCen8aWyLiDXHZMugXAzFToLJNg8f2PWU=",
|
"narHash": "sha256-X43lsjoLBWmttIKj9Jzut0UP0dZlsue3fYbJ3++ojbU=",
|
||||||
"owner": "hakimel",
|
"owner": "hakimel",
|
||||||
"repo": "reveal.js",
|
"repo": "reveal.js",
|
||||||
"rev": "0ca389721c5c7eff5db6f67159cbb1cdd51a3d7f",
|
"rev": "039972c730690af7a83a5cb832056a7cc8b565d7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -36,9 +36,9 @@
|
|||||||
description = "nix-doom-emacs home-manager module";
|
description = "nix-doom-emacs home-manager module";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
doom-emacs.url = "github:hlissner/doom-emacs/master";
|
doom-emacs.url = "github:doomemacs/doomemacs/master";
|
||||||
doom-emacs.flake = false;
|
doom-emacs.flake = false;
|
||||||
doom-snippets.url = "github:hlissner/doom-snippets";
|
doom-snippets.url = "github:doomemacs/snippets";
|
||||||
doom-snippets.flake = false;
|
doom-snippets.flake = false;
|
||||||
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||||
emacs-overlay.flake = false;
|
emacs-overlay.flake = false;
|
||||||
|
Reference in New Issue
Block a user