feat(flake): add apps
This commit is contained in:
parent
cbac8b2754
commit
03a3c474f5
2 changed files with 11 additions and 1 deletions
8
apps/default.nix
Normal file
8
apps/default.nix
Normal 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; };
|
||||||
|
}
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue