Skip to content

Commit d64a233

Browse files
committed
emacs: enable __structuredAttrs by default in elisp build helpers
1 parent f698c4d commit d64a233

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

nixos/doc/manual/release-notes/rl-2505.section.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@
198198

199199
- `pkgs.nextcloud28` has been removed since it's out of support upstream.
200200

201+
- Emacs lisp build helpers, such as `emacs.pkgs.melpaBuild`, now enables `__structuredAttrs` by default.
202+
Environment variables have to be passed via the `env` attribute.
203+
201204
- `buildGoModule` now passes environment variables via the `env` attribute. `CGO_ENABLED` should now be specified with `env.CGO_ENABLED` when passing to buildGoModule. Direct specification of `CGO_ENABLED` is now redirected by a compatibility layer with a warning, but will become an error in future releases.
202205

203206
Go-related environment variables previously shadowed by `buildGoModule` now results in errors when specified directly. Such variables include `GOOS` and `GOARCH`.

pkgs/applications/editors/emacs/build-support/generic.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ lib.extendMkDerivation {
6161
propagatedUserEnvPkgs = finalAttrs.packageRequires ++ propagatedUserEnvPkgs;
6262

6363
strictDeps = args.strictDeps or true;
64+
__structuredAttrs = args.__structuredAttrs or true;
6465

6566
inherit turnCompilationWarningToError ignoreCompilationError;
6667

0 commit comments

Comments
 (0)