fix pkgs.system deprecation
This commit is contained in:
@@ -218,7 +218,7 @@ in
|
|||||||
|
|
||||||
# https://github.com/flamegraph-rs/flamegraph
|
# https://github.com/flamegraph-rs/flamegraph
|
||||||
home.file.".cargo/config.toml".text = ''
|
home.file.".cargo/config.toml".text = ''
|
||||||
[target.${lib.strings.removeSuffix "-linux" pkgs.system}-unknown-linux-gnu]
|
[target.${lib.strings.removeSuffix "-linux" pkgs.stdenv.hostPlatform.system}-unknown-linux-gnu]
|
||||||
linker = "${lib.getExe pkgs.clang}"
|
linker = "${lib.getExe pkgs.clang}"
|
||||||
rustflags = ["-Clink-arg=-Wl,--no-rosegment"]
|
rustflags = ["-Clink-arg=-Wl,--no-rosegment"]
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
programs.opencode = {
|
programs.opencode = {
|
||||||
package = inputs.llm-agents.packages.${pkgs.system}.opencode;
|
package = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
|
||||||
enable = true;
|
enable = true;
|
||||||
rules = ''
|
rules = ''
|
||||||
You are an intelligent and observant agent.
|
You are an intelligent and observant agent.
|
||||||
|
|||||||
Reference in New Issue
Block a user