Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tek committed Sep 2, 2023
1 parent 0b48fb9 commit 4ada32a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 64 deletions.
5 changes: 1 addition & 4 deletions lib/show-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let

inherit (config.internal) pkgs;
console = import ./console.nix { inherit lib; };
inherit (console) color indent indentLine;
inherit (console) color indent;

mods = util.modulesRaw {} (util.modules ++ [{ system = config.system; } (import ../modules/system.nix)]);

Expand Down Expand Up @@ -98,9 +98,6 @@ let
stringifyListOf = cs: n: a:
listOrEmpty (stringifyElem a.nestedTypes.elemType.name) cs n;

stringifyAttrOf = tpe: n: c:
kv n (stringifyOptionValue c tpe);

stringifyAttrsOf = cs: n: a: let
tpe = a.nestedTypes.elemType;
in
Expand Down
3 changes: 1 addition & 2 deletions lib/show-overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ let

decl = name: specs: ["" "${chevronY} Package ${color blue name}"] ++ indent (map renderSpec (spec.listOC specs));

declsVia = desc: specs: let
in ["" "${chevronM} ${desc}"] ++ indent (concatLists (mapAttrsToList decl specs));
declsVia = desc: specs: ["" "${chevronM} ${desc}"] ++ indent (concatLists (mapAttrsToList decl specs));

declSet = ghc: specs: let
api = import ./deps/api.nix { inherit pkgs; self = ghc; super = ghc; };
Expand Down
58 changes: 0 additions & 58 deletions ops/hpack.nix

This file was deleted.

0 comments on commit 4ada32a

Please sign in to comment.