summaryrefslogtreecommitdiff
path: root/derivations/flash-attn/flake.nix
blob: 0e09fdfb172026694ef4959871631d54a7f5675e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# https://github.com/BatteredBunny/nix-ai-stuff/tree/main
{
  description = "Gemini CLI flake";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  };

  outputs = {
    self,
    nixpkgs,
  }: let
    system = "x86_64-linux";
    pkgs = import nixpkgs {
      system = system;
      config = {
        allowUnfree = true;
        cudaSupport = true;
      };
    };
  in {
    packages.${system}.default = pkgs.callPackage ./default.nix {
      # inherit (pkgs) lib python3Packages fetchFromGitHub symlinkJoin;
      # pkgs = pkgs;
    };
  };
}