29 Apr 2024 |
| NixOS Moderation Botchanged room power levels. | 15:28:49 |
| c4lliope joined the room. | 18:20:03 |
30 Apr 2024 |
ldeck | Some more info, if that helps: My nix home-manager config for emacs is defined here.
The relevant files that are generated include:
~/.emacs.d/early-init.el@ -> /nix/store/swmscddbhknzqm1isp6jccjxj9ij3968-home-manager-files/.emacs.d/early-init.el
init.el@ -> /nix/store/swmscddbhknzqm1isp6jccjxj9ij3968-home-manager-files/.emacs.d/init.el
% ll /nix/store/swmscddbhknzqm1isp6jccjxj9ij3968-home-manager-files/.emacs.d/
total 0
lrwxr-xr-x 1 root wheel 67 1 Jan 1970 early-init.el@ -> /nix/store/7xj10ysjxswlc119q6wsjd9j550vnp74-hm_.emacs.dearlyinit.el
lrwxr-xr-x 1 root wheel 62 1 Jan 1970 init.el@ -> /nix/store/2mhmq76r5v9lyag6g8rn016fkiwk794l-hm_.emacs.dinit.el
% which emacs
/Users/ldeck/.nix-profile/bin/emacs
ldeck@192 a1115-origin-sector-service % realpath $(which emacs)
/nix/store/irmcmk3ccmlawr8985nyll9x6g9v4dl0-emacs-with-packages-29.1/bin/emacs
% ll /nix/store/irmcmk3ccmlawr8985nyll9x6g9v4dl0-emacs-with-packages-29.1/bin/
total 672
-r-xr-xr-x 1 root wheel 1968 1 Jan 1970 .ctags-wrapped*
-r-xr-xr-x 1 root wheel 1970 1 Jan 1970 .ebrowse-wrapped*
-r-xr-xr-x 1 root wheel 1973 1 Jan 1970 .emacs-29.1-wrapped*
-r-xr-xr-x 1 root wheel 1968 1 Jan 1970 .emacs-wrapped*
-r-xr-xr-x 1 root wheel 1974 1 Jan 1970 .emacsclient-wrapped*
-r-xr-xr-x 1 root wheel 1968 1 Jan 1970 .etags-wrapped*
-r-xr-xr-x 1 root wheel 51136 1 Jan 1970 ctags*
-r-xr-xr-x 1 root wheel 51136 1 Jan 1970 ebrowse*
-r-xr-xr-x 1 root wheel 51136 1 Jan 1970 emacs*
-r-xr-xr-x 1 root wheel 51136 1 Jan 1970 emacs-29.1*
-r-xr-xr-x 1 root wheel 51136 1 Jan 1970 emacsclient*
-r-xr-xr-x 1 root wheel 51136 1 Jan 1970 etags*
% head -n 25 /nix/store/irmcmk3ccmlawr8985nyll9x6g9v4dl0-emacs-with-packages-29.1/bin/.emacs-wrapped
#!/nix/store/x1xxsh1gp6y389hyl40a0i74dkxiprl7-bash-5.2-p15/bin/bash
IFS=:
newLoadPath=()
newNativeLoadPath=()
addedNewLoadPath=
addedNewNativeLoadPath=
if [[ -n $EMACSLOADPATH ]]
then
while read -rd: entry
do
if [[ -z $entry && -z $addedNewLoadPath ]]
then
newLoadPath+=(/nix/store/r0aw6f3rw5vsi63c4j9fr0mc5827r5p8-emacs-packages-deps/share/emacs/site-lisp)
addedNewLoadPath=1
fi
newLoadPath+=("$entry")
done <<< "$EMACSLOADPATH:"
else
newLoadPath+=(/nix/store/r0aw6f3rw5vsi63c4j9fr0mc5827r5p8-emacs-packages-deps/share/emacs/site-lisp)
newLoadPath+=("")
fi
| 00:26:00 |
ldeck | What I think would make it work universally, would be for ~/.emacs.d/early-init.el or ~/.config/emacs/early-init.el to set the relevant load-path.
ryanswrt any thoughts/suggestions?
| 00:30:00 |
| tnytown changed their display name from tny (he/they) to tnytown (they/he). | 10:33:29 |
| tnytown changed their display name from tnytown (they/he) to tnytown. | 10:45:26 |
| imperivohaace joined the room. | 12:26:54 |
| aisipos (Anton Ian Sipos) joined the room. | 19:52:44 |
1 May 2024 |
| NixOS Moderation Botchanged room power levels. | 15:06:32 |
ngn | In reply to @brsvh:mozilla.org Whoops, I see a relate issue report on GitHub🙃 Sad, it's broken on macOS now. | 16:39:46 |
ngn | In reply to @brsvh:mozilla.org Whoops, I see a relate issue report on GitHub🙃 * Sad, it's broken on macOS again. | 17:03:52 |
2 May 2024 |
imperivohaace | can some of you cool emacs hackers share your config for inspiration?? | 09:18:10 |
imperivohaace | with nix of course | 09:18:22 |
azahi | In reply to @imperivohaace:matrix.org can some of you cool emacs hackers share your config for inspiration?? https://git.azahi.cc/nixfiles/tree/modules/emacs/default.nix | 10:00:10 |
bandithedoge | In reply to @imperivohaace:matrix.org can some of you cool emacs hackers share your config for inspiration?? https://github.com/bandithedoge/dotfiles/blob/master/home%2Feditors%2Femacs.nix https://github.com/bandithedoge/dotfiles/blob/master/home%2Feditors%2Femacs.org | 11:10:52 |
@miangraham:matrix.org | In reply to @imperivohaace:matrix.org can some of you cool emacs hackers share your config for inspiration?? https://codeberg.org/mian/emacs-config/src/branch/master/flake.nix | 13:40:07 |
zororg | Guys, I tried updating my system, found an hash mismatch with org-re-reveal package | 14:05:00 |
zororg | Guys, just a quickie;
building '/nix/store/km1iibm1bfqmpqd5zs437jir0dpgv71s-source.drv'...
error: hash mismatch in fixed-output derivation '/nix/store/km1iibm1bfqmpqd5zs437jir0dpgv71s-source.drv':
specified: sha256-h6ym3jts5wzDD6qIdMKAdyTX+9QqsFfhXexpxBrPejw=
got: sha256-QpyTySzhkDOI0oG7FdxTqljJ6S2lPT8ZQKZOo6pkbcU=
| 14:07:44 |
ngn | In reply to @zororg:matrix.org Guys, I tried updating my system, found an hash mismatch with org-re-reveal package Looks like the same problem with smartparens | 16:28:46 |
ngn | macOS? | 16:29:01 |
| NixOS Moderation Bot unbanned @ultranix:matrix.org. | 19:05:46 |
bandithedoge | In reply to @zororg:matrix.org
Guys, just a quickie;
building '/nix/store/km1iibm1bfqmpqd5zs437jir0dpgv71s-source.drv'...
error: hash mismatch in fixed-output derivation '/nix/store/km1iibm1bfqmpqd5zs437jir0dpgv71s-source.drv':
specified: sha256-h6ym3jts5wzDD6qIdMKAdyTX+9QqsFfhXexpxBrPejw=
got: sha256-QpyTySzhkDOI0oG7FdxTqljJ6S2lPT8ZQKZOo6pkbcU=
https://github.com/nix-community/emacs-overlay/issues/391 | 19:35:08 |
bandithedoge | you might want to just override it in your config with the correct hash until this gets fixed | 19:35:59 |
bandithedoge | In reply to @ngn999:matrix.org macOS? happens for some packages on nixos too | 19:37:21 |
| Roland Coeurjoly joined the room. | 20:05:45 |
3 May 2024 |
ngn | In reply to @bandithedoge:matrix.org you might want to just override it in your config with the correct hash until this gets fixed How? I tried overrideAttrs , but failed. | 02:17:33 |
bandithedoge | In reply to @ngn999:matrix.org How? I tried overrideAttrs , but failed. you might have to do it in an overlay, i'm not sure | 10:40:36 |
bandithedoge | i just added the offending package to my nur repo and called it a day | 10:41:02 |
ngn | In reply to @bandithedoge:matrix.org you might have to do it in an overlay, i'm not sure I'm not familiar with nix, this is my wrong configuration: https://github.com/nix-community/emacs-overlay/issues/391#issuecomment-2070063060 | 10:43:49 |
bandithedoge | In reply to @ngn999:matrix.org I'm not familiar with nix, this is my wrong configuration: https://github.com/nix-community/emacs-overlay/issues/391#issuecomment-2070063060 that should work in theory, maybe replace the sha256 key with hash ? | 10:49:09 |