【发布时间】:2021-12-03 21:01:18
【问题描述】:
我想修改 Nix 派生的定义 (emacs macport)。我希望将configureFlag 值和“--with-mac-metal”更改为它。
我尝试了以下方法,但没有成功:
emacsMacport.overrideDerivation
(old: {
configureFlags = [
"LDFLAGS=-L${ncurses.out}/lib"
"--with-xml2=yes"
"--with-gnutls=yes"
"--with-mac"
"--with-modules"
"--enable-mac-app=$$out/Applications"
"--with-mac-metal"
];
})
我正在使用 home-manager 和 nix-darwin,但出现以下异常:
error: A definition for option `home-manager.users.ashk.home.packages.[definition 16-entry 3]' is not of type `package'. Definition values:
- In `/nix/store/mkcwa9i9brbxf81a01whhy53yzk87c9d-source/modules/hosts/zebra/home.nix': <function>
(use '--show-trace' to show detailed location information)
【问题讨论】: