Unverified Commit 8e4eae35 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

mastodon: refactor passthru on source (#417584)

parents 8d3a6350 f5d5b9b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1062,7 +1062,7 @@ rec {
        // (optionalAttrs (extraPassthru != { } || src ? passthru) {
          passthru = extraPassthru // src.passthru or { };
        })
        # Forward any additional arguments to the derviation
        # Forward any additional arguments to the derivation
        // (removeAttrs args [
          "src"
          "name"
+7 −6
Original line number Diff line number Diff line
@@ -7,17 +7,18 @@
let
  version = "4.3.8";
in
(applyPatches {
applyPatches {
  src = fetchFromGitHub {
    owner = "mastodon";
    repo = "mastodon";
    rev = "v${version}";
    hash = "sha256-08AApylDOz8oExZ0cRaZTgNAuP+1wiLkx0SDhkO2fMM=";
  };
  patches = patches ++ [ ];
})
// {

    passthru = {
      inherit version;
      yarnHash = "sha256-IC4d/skIHEzJPuKlq4rMAqV+ydqquA6toq4WWCfuDxo=";
      yarnMissingHashes = null;
    };
  };
  patches = patches ++ [ ];
}