File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 ] ;
5858
5959 # The resources dir contains a bundled nix store template with its own
60- # ELF binaries and symlinks pointing to store paths that don't exist on
61- # the build machine. Skip automatic patching and do it manually below.
62- dontAutoPatchelf = true ;
63- dontPatchELF = true ;
64- dontCheckForBrokenSymlinks = true ;
60+ # ELF binaries, static binaries, and shebangs that must not be touched.
61+ # Disable the entire fixup phase and handle autoPatchelf manually.
62+ dontFixup = true ;
6563
6664 installPhase = ''
6765 runHook preInstall
7977 rm -f $out/lib/codedown/chrome-sandbox
8078
8179 install -Dm755 ${ ./wrapper.sh } $out/bin/codedown
80+ patchShebangs $out/bin/codedown
8281 substituteInPlace $out/bin/codedown --replace-fail "@out@" "$out"
8382
8483 runHook postInstall
You can’t perform that action at this time.
0 commit comments