Commit 1bc6a508 authored by Doron Behar's avatar Doron Behar
Browse files

lirc: use --replace-fail for database.py yaml fix

parent 85711284
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -64,7 +64,8 @@ stdenv.mkDerivation (finalAttrs: {

    # Pull fix for new pyyaml pending upstream inclusion
    #   https://sourceforge.net/p/lirc/git/merge-requests/39/
    substituteInPlace python-pkg/lirc/database.py --replace 'yaml.load(' 'yaml.safe_load('
    substituteInPlace python-pkg/lirc/database.py \
      --replace-fail 'yaml.load(' 'yaml.safe_load('
  '';

  preConfigure = ''