nixpkgs/pkgs
Will Dietz 32322da1a6 openblas: fix config breakage introduced for configs using 'false'
My earlier change mistakenly expected `toString false` to produce '0'
instead of the empty string, leading to unexpected config changes.

Intended to address issue mentioned here and in following discussion:

https://github.com/NixOS/nixpkgs/pull/53972#issuecomment-459981602

Sorry, folks!

(special-case handling of bools here makes this "cleanup" a bit
 less of an obvious win but hopefully still preferable overall :))

-----------

makeFlags in resulting derivation, according to this one-liner:

$ nix show-derivation -f . openblas|jq ".[].env.makeFlags"

before:
"BINARY=64 CC=cc CROSS= DYNAMIC_ARCH=1 FC=gfortran HOSTCC=cc INTERFACE64=1 NO_BINARY_MODE= NO_STATIC=1 NUM_THREADS=64 PREFIX=/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9 TARGET=ATHLON USE_OPENMP=1"

after:
"BINARY=64 CC=cc CROSS=0 DYNAMIC_ARCH=1 FC=gfortran HOSTCC=cc INTERFACE64=1 NO_BINARY_MODE=0 NO_STATIC=1 NUM_THREADS=64 PREFIX=/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9 TARGET=ATHLON USE_OPENMP=1"

Without knowing how `placeholder` works, it seems interesting if
entirely unrelated that the `PREFIX` is same for both! :). TIL.
2019-02-17 19:51:55 +01:00
..
applications sway-beta: make man flag depend on parameter 2019-02-17 18:03:46 +01:00
build-support Merge pull request #55035 from uri-canva/bazel-deps 2019-02-17 06:49:31 -08:00
common-updater common-update-scripts: fixup for current/latest nix hash output 2019-02-11 17:54:35 -06:00
data shades-of-gray-theme: 1.1.4 -> 1.1.5 (#55767) 2019-02-14 22:28:12 +01:00
desktops Merge pull request #55877 from dtzWill/fix/gnome-control-center-session-path-maybe 2019-02-17 03:49:10 +00:00
development openblas: fix config breakage introduced for configs using 'false' 2019-02-17 19:51:55 +01:00
games Merge pull request #55717 from plapadoo/pro-office-calulator-1.0.13 2019-02-17 03:56:02 +00:00
misc Merge pull request #55857 from tobim/update-lcn 2019-02-17 09:28:17 -08:00
os-specific Revert "darwin.architecture: fix sandbox build" 2019-02-17 10:03:26 +01:00
servers Merge pull request #55665 from pmahoney/freeswitch_1_8 2019-02-17 10:07:29 -08:00
shells
stdenv
test
tools Merge pull request #55726 from cransom/bug/update-gh-ost 2019-02-17 09:28:54 -08:00
top-level Merge pull request #55710 from dasJ/icingaweb2-init 2019-02-17 09:36:10 -08:00