| 8 Sep 2024 |
Ezzobir Bezziou | how can I use emacs-overlay with flakes and home-manager | 22:16:32 |
| 9 Sep 2024 |
@josh:quadrivium.uk | You can see my config for an example: https://git.sr.ht/~jshholland/nixos-configs/tree/master/item/flake.nix and https://git.sr.ht/~jshholland/nixos-configs/tree/master/item/home/emacs.nix | 06:02:34 |
eval-on-point | Redacted or Malformed Event | 15:35:50 |
eval-on-point | Redacted or Malformed Event | 15:36:40 |
eval-on-point | * I'm starting to lose a little hair over setting this up. Does anyone see what I am doing wrong here?
{
inputs = {
nixpkgs.url = "nixpkgs/24.05";
emacs-overlay.url = "github:nix-community/emacs-overlay";
};
outputs =
{ nixpkgs, emacs-overlay, ... }@inputs:
{
nixosConfigurations.office = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
(
{ pkgs, ... }:
{
imports = [ ./hosts/office/hardware-configuration.nix ];
nixpkgs = {
inherit system;
config.allowUnfree = true;
overlays = [ emacs-overlay.overlay ];
};
environment.systemPackages = [
(pkgs.emacsWithPackagesFromUsePackage { config = ./modules/emacs/lisp/init.el; })
];
}
)
];
};
};
}
gives the following error:
error: function 'anonymous lambda' called with unexpected argument 'nongnuDevelPackages'
at /nix/store/wzx1ba5hqqfa23vfrvqmfmkpj25p37mr-source/pkgs/top-level/emacs-packages.nix:55:53:
54|
55| in makeScope pkgs'.newScope (self: makeOverridable ({
| ^
56| pkgs ? pkgs'
| 15:38:23 |
eval-on-point | I'm starting to lose a little hair over setting this up. Does anyone see what I am doing wrong here?
{
inputs = {
nixpkgs.url = "nixpkgs/24.05";
emacs-overlay.url = "github:nix-community/emacs-overlay";
};
outputs =
{ nixpkgs, emacs-overlay, ... }@inputs:
{
nixosConfigurations.office = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
(
{ pkgs, ... }:
{
imports = [ ./hosts/office/hardware-configuration.nix ];
nixpkgs = {
inherit system;
config.allowUnfree = true;
overlays = [ emacs-overlay.overlay ];
};
environment.systemPackages = [
(pkgs.emacsWithPackagesFromUsePackage { config = ./modules/emacs/lisp/init.el; })
];
}
)
];
};
};
}
gives the following error:
error: function 'anonymous lambda' called with unexpected argument 'nongnuDevelPackages'
at /nix/store/wzx1ba5hqqfa23vfrvqmfmkpj25p37mr-source/pkgs/top-level/emacs-packages.nix:55:53:
54|
55| in makeScope pkgs'.newScope (self: makeOverridable ({
| ^
56| pkgs ? pkgs'
(sorry for the message spam, not used to Matrix yet)
| 15:40:12 |
eval-on-point | * I'm starting to lose a little hair over setting emacs-overlay up. Does anyone see what I am doing wrong here?
{
inputs = {
nixpkgs.url = "nixpkgs/24.05";
emacs-overlay.url = "github:nix-community/emacs-overlay";
};
outputs =
{ nixpkgs, emacs-overlay, ... }@inputs:
{
nixosConfigurations.office = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
(
{ pkgs, ... }:
{
imports = [ ./hosts/office/hardware-configuration.nix ];
nixpkgs = {
inherit system;
config.allowUnfree = true;
overlays = [ emacs-overlay.overlay ];
};
environment.systemPackages = [
(pkgs.emacsWithPackagesFromUsePackage { config = ./modules/emacs/lisp/init.el; })
];
}
)
];
};
};
}
gives the following error:
error: function 'anonymous lambda' called with unexpected argument 'nongnuDevelPackages'
at /nix/store/wzx1ba5hqqfa23vfrvqmfmkpj25p37mr-source/pkgs/top-level/emacs-packages.nix:55:53:
54|
55| in makeScope pkgs'.newScope (self: makeOverridable ({
| ^
56| pkgs ? pkgs'
(sorry for the message spam, not used to Matrix yet)
| 15:40:29 |
linj | @eval-on-point:matrix.org: looks like your nixpkgs is too old (or emacs-overlay is too new) | 15:44:02 |
eval-on-point | In reply to @me:linj.tech @eval-on-point:matrix.org: looks like your nixpkgs is too old (or emacs-overlay is too new) NO WAY. That fixed it. I didn't realize that you had to be on nixpkgs-unstable, no explicit mention of that in the emacs-overlay readme. Thank you so so much | 15:50:32 |
linj | a new enough stable release such as nixos-24.05 also works | 15:52:11 |
eval-on-point | In reply to @me:linj.tech a new enough stable release such as nixos-24.05 also works I am not sure that is true. The above example seems to break on the latest 24.05. I just ran nix flake update before attempting a build to double check | 15:59:33 |
linj | what is nixpkgs/24.05? | 16:01:42 |
linj | there is no such channel in status.nixos.org | 16:02:05 |
eval-on-point | Yup, I just realized that lol. That is the wrong branch! It appears to work on nixos-24.05. Sorry for the thick head, that was the root of my error | 16:02:27 |
| 10 Sep 2024 |
Ezzobir Bezziou | hi
can I configure chemacs2 using nixos ???? | 15:04:39 |
| szatang changed their profile picture. | 15:13:11 |
| moved to @amadaluzia:tchncs.de changed their display name from (lambda (u) (format nil "~A lost their email!" u)) "Artur Manuel" to Artur Manuel (on break). | 17:33:09 |
| moved to @amadaluzia:tchncs.de changed their profile picture. | 17:35:32 |
| moved to @amadaluzia:tchncs.de changed their display name from Artur Manuel (on break) to (lambda (u) (format nil "~A is not using Matrix right now." u)) "Artur Manuel". | 17:37:10 |
| 0x4d0n1s joined the room. | 18:56:13 |
| @ian:graham.tokyo left the room. | 20:09:24 |
| 11 Sep 2024 |
bmgsh | I see that 30.0.9 has been tagged and the unstable overlay now points there. How brave do you need to be to take it as a daily driver? | 05:10:11 |
| 12 Sep 2024 |
| moved to @amadaluzia:tchncs.de changed their display name from (lambda (u) (format nil "~A is not using Matrix right now." u)) "Artur Manuel" to (lambda (u) (format nil "~a ~a")) "Artur" "Manuel". | 01:49:40 |
| moved to @amadaluzia:tchncs.de changed their display name from (lambda (u) (format nil "~a ~a")) "Artur" "Manuel" to (lambda (f l) (format nil "~a ~a")) "Artur" "Manuel". | 01:56:25 |
| ~綾 joined the room. | 09:22:31 |
| 15 Sep 2024 |
magic_rb | In reply to @bmgsh:matrix.org I see that 30.0.9 has been tagged and the unstable overlay now points there. How brave do you need to be to take it as a daily driver? not that brave, i personally run a random commit from master, have been for years and its been mostly fine. sometimes there is a commit thats horribly broken but then i just rollback | 20:37:52 |
@bandithedoge:matrix.org | In reply to @bmgsh:matrix.org I see that 30.0.9 has been tagged and the unstable overlay now points there. How brave do you need to be to take it as a daily driver? i've always been using the latest unstable and it's just fine | 20:56:21 |
@bandithedoge:matrix.org | emacs is generally very stable in terms of master commits breaking things | 20:57:24 |
| 16 Sep 2024 |
| @miangraham:matrix.org left the room. | 02:47:15 |
| @ian:graham.tokyo joined the room. | 15:56:17 |