From bd59a80130006b4d0848c5921c4ade4f05158029 Mon Sep 17 00:00:00 2001 From: erikarvstedt <36110478+erikarvstedt@users.noreply.github.com> Date: Mon, 6 Dec 2021 18:47:08 +0100 Subject: [PATCH] flake: Remove app (#385) As pointed out by Yannik Sander, defining the app is redundant because the package of the same name is used automatically. --- flake.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/flake.nix b/flake.nix index 4b44119..2d839e2 100644 --- a/flake.nix +++ b/flake.nix @@ -28,20 +28,10 @@ inputsFrom = builtins.attrValues (packages system); NIXPKGS_PANDOC_FILTERS_PATH = "${nixpkgs + "/doc/build-aux/pandoc-filters"}"; }; - - apps = system: - { - flake-info = { - type = "app"; - program = "${(packages system).flake-info}/bin/flake-info"; - }; - }; in { defaultPackage = forAllSystems (mkPackage ./.); packages = forAllSystems packages; devShell = forAllSystems devShell; - apps = forAllSystems apps; - defaultApp = forAllSystems (system: (apps system).flake-info); }; }