From 42c9c9894b09c8ec673b073b4e7ff95af17d5c9f Mon Sep 17 00:00:00 2001 From: vssukharev Date: Wed, 18 Dec 2024 19:21:44 +0200 Subject: [PATCH] Slight updates in nix --- flake.nix | 10 +++++++--- nix/default.nix | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 1d22bc7c9..5b0fc1e8f 100644 --- a/flake.nix +++ b/flake.nix @@ -14,20 +14,24 @@ default = self.packages.${system}.c3c; c3c = pkgs.callPackage ./nix/default.nix {}; + + c3c-checks = pkgs.callPackage ./nix/default.nix { + checks = true; + }; c3c-debug = pkgs.callPackage ./nix/default.nix { debug = true; }; - c3c-nochecks = pkgs.callPackage ./nix/default.nix { + c3c-debug-checks = pkgs.callPackage ./nix/default.nix { debug = true; - checks = false; + checks = true; }; }; devShells = { default = pkgs.callPackage ./nix/shell.nix { - c3c = self.packages.${system}.c3c-nochecks; + c3c = self.packages.${system}.c3c-debug; }; }; } diff --git a/nix/default.nix b/nix/default.nix index ae910343f..7db455810 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -8,7 +8,7 @@ libffi, xar, debug ? false, - checks ? true, + checks ? false, }: let inherit (builtins) baseNameOf toString readFile elemAt; inherit (lib.sources) cleanSourceWith cleanSource;