lol

Merge #211625: licensor: fix tests, this time in a longterm way

+4 -8
+4 -8
pkgs/tools/misc/licensor/default.nix
··· 17 17 18 18 cargoSha256 = "1h66d1brx441bg7vzbqdish4avgmc6h7rrkw2qf1siwmplwqqhw0"; 19 19 20 - patches = [ 21 - # Support for 2022, https://github.com/raftario/licensor/pull/68 22 - (fetchpatch { 23 - name = "support-for-2022.patch"; 24 - url = "https://github.com/raftario/licensor/commit/6b2f248e5ad9e454fe30d71397691e47ac69b19e.patch"; 25 - sha256 = "sha256-kXiY5s2kuU+ibV3RpBoy7y3cmJU+gECBTsmRXWBOTP8="; 26 - }) 27 - ]; 20 + # https://github.com/raftario/licensor/issues/67 21 + postPatch = '' 22 + sed "/Copyright (c) 2021/s/2021/$(date +%Y)/" -i tests/integration.rs 23 + ''; 28 24 29 25 meta = with lib; { 30 26 description = "Write licenses to stdout";