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.
This commit is contained in:
erikarvstedt 2021-12-06 18:47:08 +01:00 committed by GitHub
parent d0f0b84eea
commit bd59a80130
Failed to generate hash of commit

View file

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