yarGen: patch get_abs_path function

Otherwise, it would return a path inside the Nix store, which needs to be
writable for proper operation.
This commit is contained in:
Cole Helbling 2021-04-22 23:37:22 -07:00
parent c21475e7e8
commit fea5850009
No known key found for this signature in database
GPG Key ID: B37E0F2371016A4C

View File

@ -22,6 +22,12 @@ python3.pkgs.buildPythonApplication rec {
url = "https://github.com/Neo23x0/yarGen/commit/cae14ac8efeb5536885792cae99d1d0f7fb6fde3.patch";
sha256 = "0z6925r7n1iysld5c8li5nkm1dbxg8j7pn0626a4vic525vf8ndl";
})
# https://github.com/Neo23x0/yarGen/pull/34
(fetchpatch {
name = "use-cwd-for-abspath.patch";
url = "https://github.com/Neo23x0/yarGen/commit/441dafb702149f5728c2c6736fc08741a46deb26.patch";
sha256 = "lNp3oC2BM7tBzN4AetvPr+xJLz6KkZxQmsldeZaxJQU=";
})
];
installPhase = ''