Skip to content

Commit 966630c

Browse files
committed
split checker and add a nul profile
1 parent 86f6f86 commit 966630c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

flake.nix

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@
2424

2525
createEnv = name: packages: (pkgs.buildEnv {
2626
name = "ljudge-env_${builtins.replaceStrings ["/"] ["_"] name}";
27-
paths = with pkgs; [
28-
coreutils bash
29-
ljudge-checker
30-
] ++ packages;
27+
paths = with pkgs; [coreutils bash] ++ packages;
3128
});
3229
in {
3330
packages."${system}" = lib.mapAttrs createEnv (with pkgs; {
31+
nul = [];
32+
checker = [ljudge-checker];
3433
text = [gnutar gzip];
3534
gcc = [luogu-gcc];
3635
gcc-930 = [luogu-gcc930];

0 commit comments

Comments
 (0)