File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
pkgs/applications/version-management/git-branchless Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 1515
1616rustPlatform . buildRustPackage rec {
1717 pname = "git-branchless" ;
18- version = "0.9 .0" ;
18+ version = "0.10 .0" ;
1919
2020 src = fetchFromGitHub {
2121 owner = "arxanas" ;
2222 repo = "git-branchless" ;
2323 rev = "v${ version } " ;
24- hash = "sha256-4RRSffkAe0/8k4SNnlB1iiaW4gWFTuYXplVBj2aRIdU =" ;
24+ hash = "sha256-8uv+sZRr06K42hmxgjrKk6FDEngUhN/9epixRYKwE3U =" ;
2525 } ;
2626
27- cargoHash = "sha256-Jg4d7tJXr2O1sEDdB/zk+7TPBZvgHlmW8mNiXozLKV8 =" ;
27+ cargoHash = "sha256-AEEAHMKGVYcijA+Oget+maDZwsk/RGPhHQfiv+AT4v8 =" ;
2828
2929 nativeBuildInputs = [ pkg-config ] ;
3030
@@ -40,16 +40,23 @@ rustPlatform.buildRustPackage rec {
4040 libiconv
4141 ] ;
4242
43- postInstall = ''
43+ postInstall = lib . optionalString ( with stdenv ; buildPlatform . canExecute hostPlatform ) ''
4444 $out/bin/git-branchless install-man-pages $out/share/man
4545 '' ;
4646
4747 preCheck = ''
4848 export TEST_GIT=${ git } /bin/git
4949 export TEST_GIT_EXEC_PATH=$(${ git } /bin/git --exec-path)
5050 '' ;
51- # FIXME: these tests deadlock when run in the Nix sandbox
51+
52+ # Note that upstream has disabled CI tests for git>=2.46
53+ # See: https://github.com/arxanas/git-branchless/issues/1416
54+ # https://github.com/arxanas/git-branchless/pull/1417
55+ # To be re-enabled once arxanas/git-branchless#1416 is resolved
56+ doCheck = false ;
57+
5258 checkFlags = [
59+ # FIXME: these tests deadlock when run in the Nix sandbox
5360 "--skip=test_switch_pty"
5461 "--skip=test_next_ambiguous_interactive"
5562 "--skip=test_switch_auto_switch_interactive"
@@ -63,6 +70,7 @@ rustPlatform.buildRustPackage rec {
6370 maintainers = with maintainers ; [
6471 nh2
6572 hmenke
73+ bryango
6674 ] ;
6775 } ;
6876}
You can’t perform that action at this time.
0 commit comments