lol

make-derivation.nix: Move into let binding

+7 -4
+7 -4
pkgs/stdenv/generic/make-derivation.nix
··· 40 40 unique 41 41 ; 42 42 43 + mkDerivation = 44 + fnOrAttrs: 45 + if builtins.isFunction fnOrAttrs 46 + then makeDerivationExtensible fnOrAttrs 47 + else makeDerivationExtensibleConst fnOrAttrs; 48 + 43 49 checkMeta = import ./check-meta.nix { 44 50 inherit lib config; 45 51 # Nix itself uses the `system` field of a derivation to decide where ··· 603 609 (derivation (derivationArg // optionalAttrs envIsExportable checkedEnv)); 604 610 605 611 in 606 - fnOrAttrs: 607 - if builtins.isFunction fnOrAttrs 608 - then makeDerivationExtensible fnOrAttrs 609 - else makeDerivationExtensibleConst fnOrAttrs 612 + mkDerivation