This commit is contained in:
polygon 2023-06-11 23:27:13 +02:00
parent 2c96c9f43e
commit df1c279661
2 changed files with 9 additions and 7 deletions

View File

@ -3,11 +3,11 @@
"gpt4all": {
"flake": false,
"locked": {
"lastModified": 1685053593,
"narHash": "sha256-9pXcmMaoXkP4CR095T2YZjI8t9vm4rwPATQUMxZVNy4=",
"lastModified": 1686406538,
"narHash": "sha256-KDZyOPgO8/KJnKBKvSfYXo2bwN9QmZ7rNoZJIrUJuk8=",
"ref": "refs/heads/main",
"rev": "810a3b12ccd0b0ee82b55d7ddbcb1db7d345dd06",
"revCount": 816,
"rev": "a9c2f473032fe8a47226581601cb5a6fa3cbfd6f",
"revCount": 966,
"submodules": true,
"type": "git",
"url": "https://github.com/nomic-ai/gpt4all"
@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1684935479,
"narHash": "sha256-6QMMsXMr2nhmOPHdti2j3KRHt+bai2zw+LJfdCl97Mk=",
"lastModified": 1686412476,
"narHash": "sha256-inl9SVk6o5h75XKC79qrDCAobTD1Jxh6kVYTZKHzewA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f91ee3065de91a3531329a674a45ddcb3467a650",
"rev": "21951114383770f96ae528d0ae68824557768e81",
"type": "github"
},
"original": {

View File

@ -7,6 +7,7 @@
, qtsvg
, qthttpserver
, qtwebengine
, qt5compat
, wrapQtAppsHook
, withAvx2 ? true
}:
@ -33,6 +34,7 @@ stdenv.mkDerivation {
qtsvg
qthttpserver
qtwebengine
qt5compat
];
cmakeFlags = lib.optionals withAvx2 [ "-DGPT4ALL_AVX_ONLY=ON" ];