Files
Siren/flake.nix
2025-03-18 13:17:59 -05:00

65 lines
1.3 KiB
Nix

{
description = "Build Project Siren";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
};
outputs = { self, nixpkgs, ... }: let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
debug = pkgs.stdenv.mkDerivation {
name = "Siren";
src = ./src;
buildInputs = with pkgs; [
(python311.withPackages (ps: with ps; [
ollama
wyoming
tkinter
customtkinter
debugpy
]))
];
buildPhase = ''
'';
installPhase = ''
mkdir -p $out/bin
'';
};
Siren = pkgs.stdenv.mkDerivation {
name = "Siren";
src = ./src;
buildInputs = with pkgs; [
(python311.withPackages (ps: with ps; [
ollama
wyoming
tkinter
customtkinter
]))
];
buildPhase = ''
'';
installPhase = ''
mkdir -p $out/bin
'';
};
packages.${system}.default = self.Siren;
};
}