Compare commits

..

No commits in common. "e359ff0ffc3e1abc97981c40369f25be18a47ed0" and "94c61311f252d115f260172508cfd6efa8177ca5" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -47,8 +47,6 @@ in
pbpaste = "${pkgs.wl-clipboard}/bin/wl-paste";
nix-cleanup = "doas nix-collect-garbage --delete-older-than 1d && doas nix-store --optimise && doas nix-store --gc";
gcc-native = "${pkgs.gcc}/bin/gcc -Q --help=target -mtune=native -march=native | ${pkgs.gnugrep}/bin/grep -E '(mtune|march)=' | ${pkgs.gnugrep}/bin/grep -v 'Known valid arguments' | ${pkgs.gnused}/bin/sed -E \"s/[[:space:]]+//g\"";
};
shellInit = ''

View File

@ -50,7 +50,7 @@ let
in
{
NIX_CFLAGS_COMPILE = "${oldflags} ${newflags}";
stdenv = pkgs.clang18Stdenv;
stdenv = pkgs.clangStdenv;
}
);
@ -70,7 +70,7 @@ let
owner = "nomic-ai";
repo = "gpt4all";
rev = "HEAD";
sha256 = "7pUgCZJC5goMvpUNBQ3ssmwdWt3TnaQQ7RF98VdYzM8=";
sha256 = "vzAfWLyljR0Cg6pCeeyQJZNeOJh5xOILlbJnwDWu62o=";
};
patches = old.patches ++ [
@ -83,6 +83,7 @@ let
"-Ofast"
"-march=native"
"-mtune=native"
"-fno-protect-parens"
"-fno-finite-math-only" # https://github.com/ggerganov/llama.cpp/pull/7154#issuecomment-2143844461
]
);