summary refs log tree commit diff
path: root/pkgs/tools/security/yarGen
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@outlook.com>2021-04-22 23:37:22 -0700
committerCole Helbling <cole.e.helbling@outlook.com>2021-04-22 23:37:22 -0700
commitfea58500093cbbfd506505b3ad5e16cb630db2c8 (patch)
treef1a7c1af4010079e225a0e02920dab5575d61d8b /pkgs/tools/security/yarGen
parentc21475e7e8aeaa38b13af380c64da59690056086 (diff)
downloadnixpkgs-fea58500093cbbfd506505b3ad5e16cb630db2c8.tar
nixpkgs-fea58500093cbbfd506505b3ad5e16cb630db2c8.tar.gz
nixpkgs-fea58500093cbbfd506505b3ad5e16cb630db2c8.tar.bz2
nixpkgs-fea58500093cbbfd506505b3ad5e16cb630db2c8.tar.lz
nixpkgs-fea58500093cbbfd506505b3ad5e16cb630db2c8.tar.xz
nixpkgs-fea58500093cbbfd506505b3ad5e16cb630db2c8.tar.zst
nixpkgs-fea58500093cbbfd506505b3ad5e16cb630db2c8.zip
yarGen: patch get_abs_path function
Otherwise, it would return a path inside the Nix store, which needs to be
writable for proper operation.
Diffstat (limited to 'pkgs/tools/security/yarGen')
-rw-r--r--pkgs/tools/security/yarGen/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/security/yarGen/default.nix b/pkgs/tools/security/yarGen/default.nix
index 1cbf736bd26..630718aedcb 100644
--- a/pkgs/tools/security/yarGen/default.nix
+++ b/pkgs/tools/security/yarGen/default.nix
@@ -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 = ''