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 /kalpa.toml
/indexes.json /indexes.json
/dots.json /dots.json
# nix
result

View File

@ -13,22 +13,20 @@
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
poetry2nix = poetry2nixSrc.lib.mkPoetry2Nix { inherit pkgs; }; 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 { in {
packages = { packages = {
inherit kalpaEnv; kalpaApp = poetry2nix.mkPoetryApplication {
inherit kalpaApp; 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; default = self.packages.${system}.kalpaEnv;
}; };
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {