stackpkgs/packages/compileOptimized.nix

11 lines
271 B
Nix
Raw Normal View History

{ lib, callPackage }:
let
mkOverridablePackage = pkg: lib.makeOverridable (callPackage pkg {}) {};
in
2024-07-16 14:21:16 +02:00
rec {
C = mkOverridablePackage ./compileOptimized/C.nix;
CNoLTO = C.override { enableLTO = false; };
Rust = mkOverridablePackage ./compileOptimized/Rust.nix;
}