Skip to content

Commit fbbb1af

Browse files
committed
Nix expr: remove redundant apps output from flake.nix
1 parent 34ef8f2 commit fbbb1af

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

flake.nix

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,5 @@
5252
# (i don't know the circumstances under which `final` wouldn't have a `system` attribute, but we may as well account for it)
5353
importDefaultDerivationsWith (final.system or "") final
5454
);
55-
apps =
56-
let
57-
toApps =
58-
app: pkgs:
59-
# filter packages to only include ones whose name starts with `app`, then map them to app definitions
60-
mapAttrs (name: pkg: {
61-
type = "app";
62-
# this seems to be correct, but I'm not entirely sure
63-
program = "${pkg}/bin/${pkg.name}";
64-
}) (std.filterAttrs (name: val: std.hasPrefix app name) pkgs);
65-
in
66-
mapAttrs (
67-
system: pkgs:
68-
(
69-
(toApps "emuhawk" pkgs)
70-
// (toApps "discohawk" pkgs)
71-
// {
72-
default = self.apps.${system}.emuhawk-latest-bin;
73-
}
74-
)
75-
) self.packages;
7655
};
7756
}

0 commit comments

Comments
 (0)