fix pkgs.system deprecation

This commit is contained in:
2026-01-12 15:27:12 -05:00
parent 61325ee8d7
commit 237612fd4c
2 changed files with 2 additions and 2 deletions

View File

@@ -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"]
''; '';

View File

@@ -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.