haskellPackages.hledger-lib: use fetchpatch's relative argument

We can drop `includes` since there's only one file in that directory.
This commit is contained in:
Naïm Favier 2022-03-22 20:44:27 +01:00
parent bf7d13dc4f
commit 37e093f5f1
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2

View File

@ -859,9 +859,8 @@ self: super: {
(pkgs.fetchpatch { (pkgs.fetchpatch {
name = "hledger-properly-escape-quotes-csv.patch"; name = "hledger-properly-escape-quotes-csv.patch";
url = "https://github.com/simonmichael/hledger/commit/c9a72e1615e2ddc2824f2e248456e1042eb31e1d.patch"; url = "https://github.com/simonmichael/hledger/commit/c9a72e1615e2ddc2824f2e248456e1042eb31e1d.patch";
sha256 = "10knvrd5bl9nrmi27i0pm82sfr64jy04xgbjp228qywyijpr3pqv"; relative = "hledger-lib";
includes = [ "Hledger/Read/CsvReader.hs" ]; sha256 = "sha256-gjYYo0eq1gWNAAFF3dKt9QDq0VpLnN5/648r/NXEPVE=";
stripLen = 1;
}) })
super.hledger-lib; super.hledger-lib;