diff options
author | figsoda <figsoda@pm.me> | 2022-12-19 16:46:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-19 16:46:18 -0500 |
commit | 424480f05603222193ba5a9d477311adef9806ee (patch) | |
tree | d5ec837a8034e01a179eae44ce0554074d46b4fa /pkgs/build-support | |
parent | 813a0ef8093292454c2c702eab754117c0941bcd (diff) | |
parent | b33ee831d3032014d2277a4902e41d67fe599fa3 (diff) |
Merge pull request #206815 from SuperSandro2000/misc-cleanup
build-support: order comments above corresponding line
Diffstat (limited to 'pkgs/build-support')
-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 f174424e265d3..80c3214f06a36 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 ({ |