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:
parent
d0f0b84eea
commit
bd59a80130
10
flake.nix
10
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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue