We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent fd9c7b0 commit 4576e8dCopy full SHA for 4576e8d
pkgs/tools/misc/trash-cli/default.nix
@@ -1,4 +1,4 @@
1
-{ stdenv, fetchFromGitHub, coreutils
+{ stdenv, fetchFromGitHub, fetchpatch, coreutils
2
, python3, python3Packages, substituteAll }:
3
4
assert stdenv.isLinux;
@@ -21,6 +21,12 @@ python3Packages.buildPythonApplication rec {
21
df = "${coreutils}/bin/df";
22
libc = "${stdenv.cc.libc.out}/lib/libc.so.6";
23
})
24
+
25
+ # Fix build on Python 3.6.
26
+ (fetchpatch {
27
+ url = "https://github.com/andreafrancia/trash-cli/commit/a21b80d1e69783bb09376c3f60dd2f2a10578805.patch";
28
+ sha256 = "0w49rjh433sjfc2cl5a9wlbr6kcn9f1qg905qsyv7ay3ar75wvyp";
29
+ })
30
];
31
32
buildInputs = with python3Packages; [ nose mock ];
0 commit comments