diff options
Diffstat (limited to 'pkgs/build-support/trivial-builders.nix')
-rw-r--r-- | pkgs/build-support/trivial-builders.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index f174424e265d..80c3214f06a3 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -66,14 +66,15 @@ rec { # prevent infinite recursion for the default stdenv value defaultStdenv = stdenv; in - { stdenv ? defaultStdenv + { # which stdenv to use, defaults to a stdenv with a C compiler, pkgs.stdenv - , runLocal ? false + stdenv ? defaultStdenv # whether to build this derivation locally instead of substituting - , derivationArgs ? {} + , runLocal ? false # extra arguments to pass to stdenv.mkDerivation - , name + , derivationArgs ? {} # name of the resulting derivation + , name # TODO(@Artturin): enable strictDeps always }: buildCommand: stdenv.mkDerivation ({ |