From b33ee831d3032014d2277a4902e41d67fe599fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 19 Dec 2022 08:47:54 +0100 Subject: [PATCH] build-support: order comments above corresponding line --- pkgs/build-support/trivial-builders.nix | 9 +++++---- 1 file 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 ({