diff --git a/users/tazjin/aoc2020/default.nix b/users/tazjin/aoc2020/default.nix index ebb6e7b0c..5989224f8 100644 --- a/users/tazjin/aoc2020/default.nix +++ b/users/tazjin/aoc2020/default.nix @@ -11,12 +11,12 @@ let getDay = f: head (matchSolution f); solutionFiles = filter (e: dir."${e}" == "regular" && isSolution e) (attrNames dir); - solutions = map (f: let day = getDay f; in { - name = day; - value = depot.nix.writeElispBin { - name = "aoc2020"; + solutions = map (f: let day = getDay f; in depot.nix.writeElispBin { + name = day; deps = p: with p; [ dash s ht p.f ]; src = ./. + ("/" + f); - }; }) solutionFiles; -in listToAttrs solutions +in depot.third_party.symlinkJoin { + name = "aoc2020"; + paths = solutions; +}