File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1111
1212stdenv . mkDerivation {
1313 pname = "wcc-unstable" ;
14- version = "2018-04-05 " ;
14+ version = "0.0.7-unstable-2025-01-13 " ;
1515
1616 src = fetchFromGitHub {
1717 owner = "endrazine" ;
1818 repo = "wcc" ;
19- rev = "f141963ff193d7e1931d41acde36d20d7221e74f " ;
20- sha256 = "1f0w869x0176n5nsq7m70r344gv5qvfmk7b58syc0jls8ghmjvb4 " ;
19+ rev = "fe1f71d7f6c756e196b82a884dc38bb8f8aef4d3 " ;
20+ sha256 = "sha256-Kb9QIL+W0JFdfweqZL05OajXGGqXn6e6Jv3IVCr3BwQ= " ;
2121 fetchSubmodules = true ;
2222 } ;
2323
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
3939 installFlags = [ "DESTDIR=$(out)" ] ;
4040
4141 preInstall = ''
42- mkdir -p $out/usr/bin
42+ mkdir -p $out/usr/bin $out/lib/x86_64-linux-gnu
4343 '' ;
4444
4545 postInstall = ''
@@ -49,9 +49,9 @@ stdenv.mkDerivation {
4949 cp doc/manpages/*.1 $out/share/man/man1/
5050 '' ;
5151
52- preFixup = ''
53- # Let patchShebangs rewrite shebangs with wsh.
54- PATH+=: $out/bin
52+ postFixup = ''
53+ # not detected by patchShebangs
54+ substituteInPlace $out/bin/wcch --replace-fail '#!/usr/bin/wsh' "#!$out/bin/wsh"
5555 '' ;
5656
5757 enableParallelBuilding = true ;
You can’t perform that action at this time.
0 commit comments