feat(flake): add apps

This commit is contained in:
reo101 2023-02-19 13:54:02 +02:00
parent cbac8b2754
commit 03a3c474f5
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
2 changed files with 11 additions and 1 deletions

8
apps/default.nix Normal file
View file

@ -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; };
}

View file

@ -81,7 +81,9 @@
); );
# Apps (`nix run`) # Apps (`nix run`)
apps = { }; apps = forEachPkgs (pkgs:
import ./apps { inherit pkgs; }
);
# Dev Shells (`nix develop`) # Dev Shells (`nix develop`)
devShells = forEachPkgs (pkgs: devShells = forEachPkgs (pkgs: