liboil: passthru outputBin as `bin`

+4 -3
+4 -3
pkgs/by-name/li/liboil/package.nix
··· 5 pkg-config, 6 }: 7 8 - stdenv.mkDerivation rec { 9 pname = "liboil"; 10 version = "0.3.17"; 11 12 src = fetchurl { 13 - url = "${meta.homepage}/download/liboil-${version}.tar.gz"; 14 sha256 = "0sgwic99hxlb1av8cm0albzh8myb7r3lpcwxfm606l0bkc3h4pqh"; 15 }; 16 ··· 22 "devdoc" 23 ]; 24 outputBin = "dev"; # oil-bugreport 25 26 nativeBuildInputs = [ pkg-config ]; 27 ··· 42 maintainers = with maintainers; [ lovek323 ]; 43 platforms = platforms.all; 44 }; 45 - }
··· 5 pkg-config, 6 }: 7 8 + stdenv.mkDerivation (finalAttrs: { 9 pname = "liboil"; 10 version = "0.3.17"; 11 12 src = fetchurl { 13 + url = "${finalAttrs.meta.homepage}/download/liboil-${finalAttrs.version}.tar.gz"; 14 sha256 = "0sgwic99hxlb1av8cm0albzh8myb7r3lpcwxfm606l0bkc3h4pqh"; 15 }; 16 ··· 22 "devdoc" 23 ]; 24 outputBin = "dev"; # oil-bugreport 25 + passthru.bin = finalAttrs.finalPackage.${finalAttrs.outputBin}; # fixes lib.getExe 26 27 nativeBuildInputs = [ pkg-config ]; 28 ··· 43 maintainers = with maintainers; [ lovek323 ]; 44 platforms = platforms.all; 45 }; 46 + })