Merge remote-tracking branch 'origin/develop'

This commit is contained in:
László Vaskó
2020-07-22 13:53:17 +02:00
3 changed files with 44 additions and 30 deletions

View File

@@ -172,8 +172,8 @@ let
load-config-from-site load-config-from-site
])); ]));
in in
emacs.overrideAttrs (esuper: { emacs.overrideAttrs (esuper:
buildCommand = esuper.buildCommand + '' let cmd = ''
for prog in $out/bin/*; do for prog in $out/bin/*; do
wrapProgram $out/bin/$(basename $prog) --set DOOMDIR ${doomDir} wrapProgram $out/bin/$(basename $prog) --set DOOMDIR ${doomDir}
done done
@@ -185,4 +185,15 @@ emacs.overrideAttrs (esuper: {
rm -rf $out/share rm -rf $out/share
ln -s ${esuper.emacs}/share $out ln -s ${esuper.emacs}/share $out
''; '';
}) in
if esuper ? buildCommand then
{
buildCommand = esuper.buildCommand + cmd;
}
else if esuper ? installPhase then
{
installPhase = esuper.installPhase + cmd;
}
else
abort "emacsWithPackages uses unknown derivation type"
)

View File

@@ -5,10 +5,10 @@
"homepage": "", "homepage": "",
"owner": "hlissner", "owner": "hlissner",
"repo": "doom-emacs", "repo": "doom-emacs",
"rev": "dd8b535eb132f430c206bcf3eff40577f07f01f8", "rev": "99eea1d3e25d8bf6034ff31d231e4ecfc3dc628c",
"sha256": "0jipxxd6jjk1wqk8864xanhwdawpvjg66wab4xddfxfpd3nyv5q5", "sha256": "0km1q1dgvixvx1si4plzyn9vnk9kidrgc6p07xx956i85mg8ami9",
"type": "tarball", "type": "tarball",
"url": "https://github.com/hlissner/doom-emacs/archive/dd8b535eb132f430c206bcf3eff40577f07f01f8.tar.gz", "url": "https://github.com/hlissner/doom-emacs/archive/99eea1d3e25d8bf6034ff31d231e4ecfc3dc628c.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"doom-snippets": { "doom-snippets": {
@@ -17,10 +17,10 @@
"homepage": "", "homepage": "",
"owner": "hlissner", "owner": "hlissner",
"repo": "doom-snippets", "repo": "doom-snippets",
"rev": "525aea97f564d66595b3db4b9199b3ed953beb52", "rev": "21b7c8d37224768091a34a6c3ede68d52d03fb18",
"sha256": "0fj95zslj8bz6p32l6wwpjj5mmj5ga3kjrfrn31pmz4zidxm1230", "sha256": "1n0g4lblbay0i5x3w9azqg13hdvs632fl1wdx3y3qw6pa4s6s5bl",
"type": "tarball", "type": "tarball",
"url": "https://github.com/hlissner/doom-snippets/archive/525aea97f564d66595b3db4b9199b3ed953beb52.tar.gz", "url": "https://github.com/hlissner/doom-snippets/archive/21b7c8d37224768091a34a6c3ede68d52d03fb18.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"emacs-overlay": { "emacs-overlay": {
@@ -29,10 +29,10 @@
"homepage": "", "homepage": "",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "fe8bfdcf1f15ea80340c1b2174ca1f944fe53fb0", "rev": "10fc4da7fd0f91c6757c17b00f2abf1f62da7fa0",
"sha256": "1hilhwl164xk6p84haflj07wpxb26x66prwamqhkaq63ybw9r8ja", "sha256": "0azbm871kfd4wxawp488s12m4y65n7arw5w1hnyqvacrh6m1bxv3",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nix-community/emacs-overlay/archive/fe8bfdcf1f15ea80340c1b2174ca1f944fe53fb0.tar.gz", "url": "https://github.com/nix-community/emacs-overlay/archive/10fc4da7fd0f91c6757c17b00f2abf1f62da7fa0.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"emacs-so-long": { "emacs-so-long": {
@@ -84,15 +84,15 @@
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"nix-straight.el": { "nix-straight.el": {
"branch": "v2.0.0", "branch": "v2.1.0",
"description": null, "description": null,
"homepage": null, "homepage": null,
"owner": "vlaci", "owner": "vlaci",
"repo": "nix-straight.el", "repo": "nix-straight.el",
"rev": "b0ac8033a448c609645b4d9b5ff5f90de608f326", "rev": "9e6f7d71760b997b09d9bd3046257bc9ec17265b",
"sha256": "1vgdjfyz8964mixwfcv30lmkjfgsmsw8vl23x1964izr2cfh2dy6", "sha256": "0hh2aysmcd17zqpmj4l9gas6199p36ngk1h0ifk6dv5gs4782293",
"type": "tarball", "type": "tarball",
"url": "https://github.com/vlaci/nix-straight.el/archive/b0ac8033a448c609645b4d9b5ff5f90de608f326.tar.gz", "url": "https://github.com/vlaci/nix-straight.el/archive/9e6f7d71760b997b09d9bd3046257bc9ec17265b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"ob-racket": { "ob-racket": {
@@ -113,10 +113,10 @@
"homepage": "https://code.orgmode.org/bzg/org-mode", "homepage": "https://code.orgmode.org/bzg/org-mode",
"owner": "emacs-straight", "owner": "emacs-straight",
"repo": "org-mode", "repo": "org-mode",
"rev": "99acb17d06e0c7549841ea6cb7c6ce4df927c6c6", "rev": "945f495b942f60c3b15a38202847e49aaff757d5",
"sha256": "0kpdly6kzj3fz993hmamqkcj4b40a9r2a7x2m200mhv7ims8w9q8", "sha256": "0pgyagbpf8xww74mxylp92n98j1rg3mji8pv0w3hc9g388hgni0w",
"type": "tarball", "type": "tarball",
"url": "https://github.com/emacs-straight/org-mode/archive/99acb17d06e0c7549841ea6cb7c6ce4df927c6c6.tar.gz", "url": "https://github.com/emacs-straight/org-mode/archive/945f495b942f60c3b15a38202847e49aaff757d5.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"org-yt": { "org-yt": {

View File

@@ -22,6 +22,7 @@ self: super: {
evil-org = self.straightBuild { evil-org = self.straightBuild {
pname = "evil-org-mode"; pname = "evil-org-mode";
ename = "evil-org";
}; };
evil-quick-diff = self.straightBuild { evil-quick-diff = self.straightBuild {
@@ -61,10 +62,12 @@ self: super: {
rotate-text = self.straightBuild { rotate-text = self.straightBuild {
pname = "rotate-text.el"; pname = "rotate-text.el";
ename = "rotate-text";
}; };
so-long = self.straightBuild { so-long = self.straightBuild {
pname = "emacs-so-long"; pname = "emacs-so-long";
ename = "so-long";
}; };
ob-racket = self.straightBuild { ob-racket = self.straightBuild {