Files
nix-packaging/flake.nix

29 lines
636 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux"; # Adjust if necessary
pkgs = import nixpkgs {
inherit system;
};
in
{
packages.${system} = {
cosmic-web-apps = pkgs.python313Packages.callPackage ./cosmic-web-apps.nix { };
};
devShells.${system} = {
default = pkgs.mkShell {
name = "packaging";
venvDir = "./.venv";
buildInputs = [ pkgs.python313Packages.pip ] ++ builtins.attrValues self.packages.${system};
};
};
};
}