mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Slight updates in nix
This commit is contained in:
committed by
Christoffer Lerno
parent
b4de62cfc2
commit
42c9c9894b
10
flake.nix
10
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
libffi,
|
||||
xar,
|
||||
debug ? false,
|
||||
checks ? true,
|
||||
checks ? false,
|
||||
}: let
|
||||
inherit (builtins) baseNameOf toString readFile elemAt;
|
||||
inherit (lib.sources) cleanSourceWith cleanSource;
|
||||
|
||||
Reference in New Issue
Block a user