mozilla / nixpkgs-mozilla

Mozilla overlay for Nixpkgs.
MIT License
527 stars 129 forks source link

Fix `rr-overlay.nix` for modern nixpkgs #261

Closed Twey closed 3 years ago

Twey commented 3 years ago

Fixes the error:

error: while evaluating anonymous function at /nix/store/…/nixos/lib/customisation.nix:77:32,
  called from /nix/store/…/rr-overlay.nix:5:8:
while evaluating 'makeOverridable' at /nix/store/…/nixos/lib/customisation.nix:67:24,
  called from /nix/store/…/nixos/lib/customisation.nix:77:41:
anonymous function at /nix/store/…/nixos/pkgs/development/tools/analysis/rr/default.nix:1:1
  called with unexpected argument 'stdenv',
  at /nix/store/…/nixos/lib/customisation.nix:69:16

As of https://github.com/NixOS/nixpkgs/commit/b60b4023d72b468ec734fba83d902a9b9f6a3625, rr in nixpkgs now expects a gcc9Stdenv argument instead of a stdenv argument.