File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111 tzdata ,
1212} :
1313
14- rustPlatform . buildRustPackage rec {
14+ rustPlatform . buildRustPackage ( finalAttrs : {
1515 pname = "sudo-rs" ;
1616 version = "0.2.6" ;
1717
1818 src = fetchFromGitHub {
1919 owner = "trifectatechfoundation" ;
2020 repo = "sudo-rs" ;
21- rev = "v${ version } " ;
21+ rev = "v${ finalAttrs . version } " ;
2222 hash = "sha256-vZv3IVSW6N0puoWJBYQPmNntgHPt9SPV07TEuWN/bHw=" ;
2323 } ;
2424 useFetchCargoVendor = true ;
@@ -82,7 +82,7 @@ rustPlatform.buildRustPackage rec {
8282 meta = with lib ; {
8383 description = "Memory safe implementation of sudo and su" ;
8484 homepage = "https://github.com/trifectatechfoundation/sudo-rs" ;
85- changelog = "${ meta . homepage } /blob/v${ version } /CHANGELOG.md" ;
85+ changelog = "${ finalAttrs . meta . homepage } /blob/v${ finalAttrs . version } /CHANGELOG.md" ;
8686 license = with licenses ; [
8787 asl20
8888 mit
@@ -94,4 +94,4 @@ rustPlatform.buildRustPackage rec {
9494 mainProgram = "sudo" ;
9595 platforms = platforms . linux ;
9696 } ;
97- }
97+ } )
You can’t perform that action at this time.
0 commit comments