chore(sterni/aoc/2022): nuke Nix solutions

Didn't end up happening due to a lack of motivation. Will try to finish
the BQN AoC still, though.

Change-Id: Ib296aec9f3cfeef57c79a9ba09fc664c1a19dcff
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7661
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2022-12-28 12:56:03 +01:00 committed by clbot
parent 7163d3ad37
commit 6aafe2a223
3 changed files with 2 additions and 56 deletions

View file

@ -13,7 +13,6 @@ depot.nix.readTree.drvTargets {
packages = [
cbqn
ngn-k
depot.tvix.eval
];
BQNLIBS = pkgs.fetchFromGitHub {
@ -49,27 +48,4 @@ depot.nix.readTree.drvTargets {
''
find "$aoc/2022" -name '*.bqn' -exec BQN {} \; | tee "$out"
'';
nix = import ./nix.nix { inherit lib; };
tvixed-nix = pkgs.runCommand "tvix-aoc-2022"
{
nativeBuildInputs = [
depot.tvix.eval
];
solutions = builtins.path {
name = "nix-aoc-2022";
path = ./.;
filter = path: type:
type == "directory"
|| lib.hasSuffix "nix.nix" path
|| lib.hasSuffix "/input" path;
};
inherit meta;
}
''
tvix-eval -E "import $solutions/nix.nix { lib = import ${pkgs.path}/lib; }" \
| tee "$out"
'';
}