Skip to content

Commit

Permalink
Merge pull request #35 from serokell/rvem/patched-binaries
Browse files Browse the repository at this point in the history
Make source patches configurable
  • Loading branch information
rvem authored Feb 24, 2020
2 parents 991995d + a13b9b2 commit 6af8446
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2019 TQ Tezos <https://tqtezos.com/>
#
# SPDX-License-Identifier: MPL-2.0
{ pkgs ? import <nixpkgs> { }, timestamp ? "19700101" }:
{ pkgs ? import <nixpkgs> { }, timestamp ? "19700101", patches ? [] }:
with pkgs;

let
Expand All @@ -18,7 +18,7 @@ let
master = {
rev = "60b977cd";
sha256 = "1v9v5z5i3cs9jw48m3xx9w4fqkns37nn464fr7hds7wgmwfmf1sp";
patchFile = ./nix/fix-master.patch;
patches = [ ./nix/fix-master.patch ] ++ patches;
inherit protocols;
};
static-nix = import ./nix/static.nix;
Expand Down
2 changes: 1 addition & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ let

minimumOCamlVersion = "4.07";

patches = [ branchInfo.patchFile ];
patches = branchInfo.patches;
src = fetchgit {
url = "https://gitlab.com/tezos/tezos.git/";
rev = branchInfo.rev;
Expand Down

0 comments on commit 6af8446

Please sign in to comment.