-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emacspeak: 58.0 -> 59.0 #291953
emacspeak: 58.0 -> 59.0 #291953
Conversation
Also, keep a green alias in order to not break things.
- finalAttrs design pattern - set strictDeps - getExe emacs - get rid of nested with - set meta.changelog - set meta.mainProgram
Also, updates broken version according to the changelog. Co-authored-by: R. RyanTM <[email protected]>
@@ -1,34 +1,37 @@ | |||
{ lib | |||
, stdenv | |||
, emacs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Directly pulling in emacs
has some issues:
- the unneeded
emacs
is in the closure ofemacs-nox.pkgs.emacspeak
- native compilation results of
emacs-nox.pkgs.emacspeak
, if generated, will not be used byemacs-nox
BTW, the directory structure of $out
is probably wrong because it is quite different from other packages in emacsPackages
.
@@ -5,6 +5,8 @@ let | |||
inherit (self) callPackage; | |||
in | |||
{ | |||
inherit (pkgs) emacspeak; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applying this patch can fix issues mentioned here. However, whether this package should be moved to "by-name" needs discussion.
- inherit (pkgs) emacspeak;
+ emacspeak = pkgs.emacspeak.override { emacs = self.emacs; };
Description of changes
Closes #291869
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.