treewide: NIX_*_COMPILE -> string
This commit is contained in:
@@ -15,9 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
NIX_LDFLAGS = [
|
||||
"-lm"
|
||||
];
|
||||
NIX_LDFLAGS = "-lm";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://gdmap.sourceforge.net;
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ opencl-clhpp ocl-icd ];
|
||||
|
||||
NIX_LDFLAGS = [ "-lOpenCL" ];
|
||||
NIX_LDFLAGS = "-lOpenCL";
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 opencl-info $out/bin/opencl-info
|
||||
|
||||
Reference in New Issue
Block a user