flake: add 'diff-flake' to 'apps' and 'defaultApp'

That way I can just run `nix flake update`, commit, and `nix run` to get
a list of updates.
This commit is contained in:
Bruno BELANYI 2021-04-25 12:24:03 +00:00
parent 7d91351c8e
commit 37a134ebd2

View file

@ -51,7 +51,13 @@
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
rec {
apps = {
diff-flake = futils.lib.mkApp { drv = packages.diff-flake; };
};
defaultApp = apps.diff-flake;
devShell = pkgs.mkShell {
name = "NixOS-config";
buildInputs = with pkgs; [