bscpkgs/garlic/mkDerivation.nix

20 lines
221 B
Nix
Raw Normal View History

2020-09-22 17:41:40 +02:00
{ lib }:
let inherit (lib) optional; in
mkDerivation:
args:
let
args_ = {
enableParallelBuilding = args.enableParallelBuilding or true;
hardeningDisable = [ "all" ];
};
in
mkDerivation (args // args_)