Compare commits
No commits in common. "c331bc057f4178a8e5677ab7f575a7b385bb2dff" and "f2f326dcfe742966d8c9e292dfbd41784e40e72a" have entirely different histories.
c331bc057f
...
f2f326dcfe
3
.gitignore
vendored
3
.gitignore
vendored
@ -155,6 +155,3 @@ out/
|
||||
/kalpa.toml
|
||||
/indexes.json
|
||||
/dots.json
|
||||
|
||||
# nix
|
||||
result
|
||||
|
26
flake.nix
26
flake.nix
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user