Refactor: consolidate packages into flake-hub
This commit is contained in:
@@ -12,10 +12,15 @@
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
packages.${system}.hello-world = pkgs.callPackage ./packages/hello-world.nix { };
|
||||
packages.${system} = rec {
|
||||
hello-world = pkgs.callPackage ./packages/hello-world.nix { };
|
||||
xonsh = pkgs.callPackage ./packages/xonsh.nix { };
|
||||
default = hello-world;
|
||||
};
|
||||
|
||||
overlays.default = final: prev: {
|
||||
hello-world = final.callPackage ./packages/hello-world.nix { };
|
||||
xonsh = final.callPackage ./packages/xonsh.nix { };
|
||||
};
|
||||
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
|
||||
Reference in New Issue
Block a user