From 37a134ebd2e09b5e0b2102a9de7be6027350439d Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 25 Apr 2021 12:24:03 +0000 Subject: [PATCH] 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. --- flake.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 09366c7..977175c 100644 --- a/flake.nix +++ b/flake.nix @@ -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; [