Compare commits

...

2 Commits

Author SHA1 Message Date
c331bc057f
git: ignore nix flake
All checks were successful
gitea-physics/kalpa/pipeline/head This commit looks good
2025-03-22 22:23:12 -05:00
b685c63efe
nix: move nix stuff up a bit 2025-03-22 22:13:00 -05:00
2 changed files with 17 additions and 12 deletions

3
.gitignore vendored
View File

@ -155,3 +155,6 @@ out/
/kalpa.toml
/indexes.json
/dots.json
# nix
result

View File

@ -13,8 +13,6 @@
let
pkgs = nixpkgs.legacyPackages.${system};
poetry2nix = poetry2nixSrc.lib.mkPoetry2Nix { inherit pkgs; };
in {
packages = {
kalpaApp = poetry2nix.mkPoetryApplication {
projectDir = self;
python = pkgs.python39;
@ -27,6 +25,10 @@
overrides = poetry2nix.overrides.withDefaults (self: super: {
});
};
in {
packages = {
inherit kalpaEnv;
inherit kalpaApp;
default = self.packages.${system}.kalpaEnv;
};
devShells.default = pkgs.mkShell {