Skip to content

Commit

Permalink
split checker and add a nul profile
Browse files Browse the repository at this point in the history
  • Loading branch information
moesoha committed Nov 12, 2023
1 parent 86f6f86 commit 966630c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@

createEnv = name: packages: (pkgs.buildEnv {
name = "ljudge-env_${builtins.replaceStrings ["/"] ["_"] name}";
paths = with pkgs; [
coreutils bash
ljudge-checker
] ++ packages;
paths = with pkgs; [coreutils bash] ++ packages;
});
in {
packages."${system}" = lib.mapAttrs createEnv (with pkgs; {
nul = [];
checker = [ljudge-checker];
text = [gnutar gzip];
gcc = [luogu-gcc];
gcc-930 = [luogu-gcc930];
Expand Down

0 comments on commit 966630c

Please sign in to comment.