mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
patch-shebangs: fix dev detection
$output = $outputDev is the right condition. ${!outputDev} is only useful if you want a path.
This commit is contained in:
parent
61bc03c017
commit
a1533dfc41
@ -105,7 +105,7 @@ patchShebangsAuto () {
|
||||
# Dev output will end up being run on the build platform. An
|
||||
# example case of this is sdl2-config. Otherwise, we can just
|
||||
# use the runtime path (--host).
|
||||
if [ "$output" != out ] && [ "$output" = "${!outputDev}" ]; then
|
||||
if [ "$output" != out ] && [ "$output" = "$outputDev" ]; then
|
||||
patchShebangs --build "$prefix"
|
||||
else
|
||||
patchShebangs --host "$prefix"
|
||||
|
Loading…
Reference in New Issue
Block a user