lol

Merge #173775: libfreeaptx: avoid rebuilding on Linux for now

+4 -4
+4 -4
pkgs/development/libraries/libfreeaptx/default.nix
··· 11 sha256 = "sha256-eEUhOrKqb2hHWanY+knpY9FBEnjkkFTB+x6BZgMBpbo="; 12 }; 13 14 - postPatch = lib.optionalString stdenv.isDarwin '' 15 substituteInPlace Makefile \ 16 --replace '-soname' '-install_name' \ 17 --replace 'lib$(NAME).so' 'lib$(NAME).dylib' 18 - ''; 19 20 makeFlags = [ 21 "PREFIX=${placeholder "out"}" ··· 27 28 enableParallelBuilding = true; 29 30 - postInstall = lib.optionalString stdenv.isDarwin '' 31 install_name_tool -change libfreeaptx.dylib.0 $out/lib/libfreeaptx.dylib.0 $out/bin/freeaptxdec 32 install_name_tool -change libfreeaptx.dylib.0 $out/lib/libfreeaptx.dylib.0 $out/bin/freeaptxenc 33 install_name_tool -id $out/lib/libfreeaptx.dylib $out/lib/libfreeaptx.dylib 34 install_name_tool -id $out/lib/libfreeaptx.dylib.0 $out/lib/libfreeaptx.dylib.0 35 - ''; 36 37 meta = with lib; { 38 description = "Free Implementation of Audio Processing Technology codec (aptX)";
··· 11 sha256 = "sha256-eEUhOrKqb2hHWanY+knpY9FBEnjkkFTB+x6BZgMBpbo="; 12 }; 13 14 + postPatch = if stdenv.isDarwin then '' 15 substituteInPlace Makefile \ 16 --replace '-soname' '-install_name' \ 17 --replace 'lib$(NAME).so' 'lib$(NAME).dylib' 18 + '' else null; 19 20 makeFlags = [ 21 "PREFIX=${placeholder "out"}" ··· 27 28 enableParallelBuilding = true; 29 30 + postInstall = if stdenv.isDarwin then '' 31 install_name_tool -change libfreeaptx.dylib.0 $out/lib/libfreeaptx.dylib.0 $out/bin/freeaptxdec 32 install_name_tool -change libfreeaptx.dylib.0 $out/lib/libfreeaptx.dylib.0 $out/bin/freeaptxenc 33 install_name_tool -id $out/lib/libfreeaptx.dylib $out/lib/libfreeaptx.dylib 34 install_name_tool -id $out/lib/libfreeaptx.dylib.0 $out/lib/libfreeaptx.dylib.0 35 + '' else null; 36 37 meta = with lib; { 38 description = "Free Implementation of Audio Processing Technology codec (aptX)";