Revert "Revert "patch-shebangs: respect cross compilation""
Revert "Revert "patch-shebangs: respect cross compilation""

This reverts commit 9c4b11e9a060de2175aef4d36881f97812ab17fe.

NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs