Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Le Duc
3e646301a0 smartcat: 1.7.1 -> 2.1.0 2024-11-06 14:03:47 +01:00
R. Ryantm
2149a6b4de smartcat: 1.4.1 -> 1.7.1 2024-10-21 23:06:14 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
fae2306ff0 smartcat: 1.3.0 -> 1.4.1 2024-08-01 06:48:55 +00:00
Lucas Chaim
97151c4213 smartcat: init at 1.3.0
Adds smartcat, a cat-like tool to interact with large language models on
the command line.
I've been looking for a minimal tool to easily work with a locally
running ollama instance, and this was a great fit so I figured I'd try my
hand at adding it to nixpkgs and maintaining it.

Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
2024-06-20 19:36:09 -03:00