forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch-shebangs: respect cross compilation
This hopefully makes patchShebangs respect cross compilation. It introduces the concept of the HOST_PATH. Nothing is ever executed on it but instead used as a way to get the proper path using ‘command -v’. Needs more testing. /cc @Ericson2314 @dtzWill Fixes NixOS#33956 Fixes NixOS#21138 (Modified backport of f069423. See previous commit to understand the differences between this and the original.)
- Loading branch information
1 parent
c72c865
commit e9b6300
Showing
1 changed file
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters