mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03: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