3
0
Fork 0
forked from mirrors/nixpkgs

build-support: order comments above corresponding line

This commit is contained in:
Sandro Jäckel 2022-12-19 08:47:54 +01:00
parent 76672661b9
commit b33ee831d3
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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 ({