diff --git a/apps/default.nix b/apps/default.nix new file mode 100644 index 0000000..5a49c26 --- /dev/null +++ b/apps/default.nix @@ -0,0 +1,8 @@ +# Custom apps, that can be defined similarly to ones from nixpkgs +# You can build them using 'nix run .#example' + +{ pkgs ? (import ../nixpkgs.nix) { } +, ... +}: { + # example = import ./example { inherit pkgs; }; +} diff --git a/flake.nix b/flake.nix index 8254730..8ef8553 100644 --- a/flake.nix +++ b/flake.nix @@ -81,7 +81,9 @@ ); # Apps (`nix run`) - apps = { }; + apps = forEachPkgs (pkgs: + import ./apps { inherit pkgs; } + ); # Dev Shells (`nix develop`) devShells = forEachPkgs (pkgs: