From 966630c534871b678b26c74e17aa1a3e9b2f2b4d Mon Sep 17 00:00:00 2001 From: Soha Jin Date: Sun, 12 Nov 2023 22:11:16 +0800 Subject: [PATCH] split checker and add a nul profile --- flake.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 6ad87fa..acf05fd 100644 --- a/flake.nix +++ b/flake.nix @@ -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];