Unverified Commit dcf7676a authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

various: fix meta.position (#454659)

parents eba10d3b 51387c35
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -144,6 +144,8 @@ let

      passthru = { inherit tests; };

      # The recursiveUpdate below breaks default meta.position, so manually override it.
      pos = __curPos;
      meta =
        with lib;
        recursiveUpdate {
+2 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ pkgs.recurseIntoAttrs rec {
      homepage,
      mods,
      src,
      pos,
    }@engine:
    # Allow specifying the name at a later point if no name has been given.
    let
@@ -101,6 +102,7 @@ pkgs.recurseIntoAttrs rec {
      description,
      homepage,
      src,
      pos,
      engine,
      assetsError ? "",
    }@mod:
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ stdenv.mkDerivation (
      )}
    '';

    inherit (engine) pos;
    meta = {
      inherit (engine) description homepage;
    };
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ let
        repo = "OpenRA";
        inherit rev sha256 postFetch;
      };
      pos = __curPos;
    } name).overrideAttrs
      (origAttrs: {
        postInstall = ''
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ stdenv.mkDerivation (
      runHook postInstall
    '';

    inherit (mod) pos;
    meta = {
      inherit (mod) description homepage;
    };
Loading