File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 88 pam ,
99 pandoc ,
1010 rustPlatform ,
11+ tzdata ,
1112} :
1213
1314rustPlatform . buildRustPackage rec {
1415 pname = "sudo-rs" ;
15- version = "0.2.5 " ;
16+ version = "0.2.6 " ;
1617
1718 src = fetchFromGitHub {
1819 owner = "trifectatechfoundation" ;
1920 repo = "sudo-rs" ;
2021 rev = "v${ version } " ;
21- hash = "sha256-apvMcn/1dV9uujyoHikiOxregwWtAFPvrZvYjd3XQwM =" ;
22+ hash = "sha256-vZv3IVSW6N0puoWJBYQPmNntgHPt9SPV07TEuWN/bHw =" ;
2223 } ;
2324 useFetchCargoVendor = true ;
24- cargoHash = "sha256-EAfNg7hUsynFZ+EcUqeD9o44BakBYIMgxRXc4vcl8HY =" ;
25+ cargoHash = "sha256-/CbU2ds2VQ2IXx7GKxRO3vePzLXJXabA1FcyIGPsngw =" ;
2526
2627 nativeBuildInputs = [
2728 installShellFiles
@@ -33,8 +34,11 @@ rustPlatform.buildRustPackage rec {
3334 # Don't attempt to generate the docs in a (pan)Docker container
3435 postPatch = ''
3536 substituteInPlace util/generate-docs.sh \
36- --replace "/usr/bin/env bash" ${ lib . getExe bash } \
37- --replace util/pandoc.sh pandoc
37+ --replace-fail "/usr/bin/env bash" ${ lib . getExe bash } \
38+ --replace-fail util/pandoc.sh pandoc
39+
40+ substituteInPlace build.rs \
41+ --replace-fail "/usr/share/zoneinfo" "${ tzdata } /share/zoneinfo"
3842 '' ;
3943
4044 postInstall = ''
You can’t perform that action at this time.
0 commit comments