diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-07-16 18:01:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 18:01:40 +0000 |
commit | 034c3854f0b994f4ff0930ec8fbcc259b6d97566 (patch) | |
tree | 1d2a505453b152ff38b356160267aa87d4d5a5b8 /pkgs/build-support | |
parent | a0072edeba87f3545eef84dc823452505146de7a (diff) | |
parent | d4613a1d4538bdd4403d6864d3c2ebee00d9b401 (diff) |
Merge staging-next into staging
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/trivial-builders/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/trivial-builders/default.nix b/pkgs/build-support/trivial-builders/default.nix index 871f9722a4a2e..9099a38b75b3e 100644 --- a/pkgs/build-support/trivial-builders/default.nix +++ b/pkgs/build-support/trivial-builders/default.nix @@ -87,6 +87,8 @@ rec { inherit buildCommand name; passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or []); + } + // lib.optionalAttrs (! derivationArgs?meta) { pos = let args = builtins.attrNames derivationArgs; in if builtins.length args > 0 then builtins.unsafeGetAttrPos (builtins.head args) derivationArgs |