about summary refs log tree commit diff
path: root/third_party/rr/default.nix
blob: 8f2cf85cc5da15be4b21d7d8e3a3d8a61f0b43a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs, ... }:

pkgs.originals.rr.overrideAttrs(_: {
  src = pkgs.fetchFromGitHub {
    owner = "mozilla";
    repo = "rr";
    rev = "8fc7d2a09a739fee1883d262501e88613165c1dd";
    sha256 = "0avq5lv082z2sasggfn2awnfrh08cr8f0i9iw1dnrcxa6pc3bi9k";
    fetchSubmodules = false;
  };

  # Workaround as documented on https://github.com/mozilla/rr/wiki/Zen
  postInstall = ''
    cp $src/scripts/zen_workaround.py $out/bin/rr_zen_workaround
  '';
})