From c47302c9517d3d949bd6a3fbdfbda0eca3095eac Mon Sep 17 00:00:00 2001 From: polwex Date: Tue, 14 Oct 2025 06:36:38 +0700 Subject: m --- derivations/flash-attn/flake.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 derivations/flash-attn/flake.nix (limited to 'derivations/flash-attn/flake.nix') diff --git a/derivations/flash-attn/flake.nix b/derivations/flash-attn/flake.nix new file mode 100644 index 0000000..0e09fdf --- /dev/null +++ b/derivations/flash-attn/flake.nix @@ -0,0 +1,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; + }; + }; +} -- cgit v1.2.3