Skip to content

Commit

Permalink
feature: add vixos command instead of python modules
Browse files Browse the repository at this point in the history
  • Loading branch information
BonusPlay committed Sep 1, 2023
1 parent 28d905b commit 4c29879
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
in
flake-utils.lib.eachSystem systems
(system:
let pkgs = nixpkgs.legacyPackages.${system};
let
pkgs = nixpkgs.legacyPackages.${system};
pname = "vixos";
in
{
packages.vixos = pkgs.python311.pkgs.buildPythonPackage rec {
pname = "vixos";
packages.${pname} = pkgs.python311.pkgs.buildPythonApplication rec {
inherit pname;
version = "0.0.0";
src = ./.;

Expand All @@ -29,7 +31,7 @@
waypipe
];
};
packages.default = self.packages.${system}.vixos;
packages.default = self.packages.${system}.${pname};
devShell = pkgs.mkShell {
packages = with pkgs; [
python311Packages.libvirt
Expand Down

0 comments on commit 4c29879

Please sign in to comment.