Compare commits

..

No commits in common. "c331bc057f4178a8e5677ab7f575a7b385bb2dff" and "f2f326dcfe742966d8c9e292dfbd41784e40e72a" have entirely different histories.

2 changed files with 12 additions and 17 deletions

3
.gitignore vendored
View File

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

View File

@ -13,22 +13,20 @@
let
pkgs = nixpkgs.legacyPackages.${system};
poetry2nix = poetry2nixSrc.lib.mkPoetry2Nix { inherit pkgs; };
kalpaApp = poetry2nix.mkPoetryApplication {
projectDir = self;
python = pkgs.python39;
preferWheels = true;
};
kalpaEnv = poetry2nix.mkPoetryEnv {
projectDir = self;
python = pkgs.python39;
preferWheels = true;
overrides = poetry2nix.overrides.withDefaults (self: super: {
});
};
in {
packages = {
inherit kalpaEnv;
inherit kalpaApp;
kalpaApp = poetry2nix.mkPoetryApplication {
projectDir = self;
python = pkgs.python39;
preferWheels = true;
};
kalpaEnv = poetry2nix.mkPoetryEnv {
projectDir = self;
python = pkgs.python39;
preferWheels = true;
overrides = poetry2nix.overrides.withDefaults (self: super: {
});
};
default = self.packages.${system}.kalpaEnv;
};
devShells.default = pkgs.mkShell {