Change:
error when creating a bottle Steps to reproduce the behavior: bottles to create a new bottle during dxvk installation process with the following error message No error when trying to create a bottle ! I'm pretty new to nixos so it might be a configuration error on my part I apologize in advanced if I tagged the wrong maintainers
It should be fixed in (I don't reproduce it there). (I think it's caused by the fact I )
gotcha. feel free to close if you think it's gonna be fixed in next release. thanks :)

Discussion:
, gtk4 , gtksourceview5 , libadwaita <del> , steam </del> , cabextract , p7zip , xdpyinfo , imagemagick <ins> , lsb-release , pciutils </ins> , procps , gamescope , mangohud <ins> , vkbasalt-cli </ins> , vmtouch <del> , wine , bottlesExtraLibraries ? pkgs: [ ] # extra packages to add to steam.run multiPkgs , bottlesExtraPkgs ? pkgs: [ ] # extra packages to add to steam.run targetPkgs </del> }: <del> let steam-run = (steam.override { # required by wine runner `caffe` extraLibraries = pkgs: with pkgs; [ libunwind libusb1 gnutls ] ++ bottlesExtraLibraries pkgs; extraPkgs = pkgs: [ ] ++ bottlesExtraPkgs pkgs; }).run; in </del> python3Packages.buildPythonApplication rec { <del> pname = "bottles"; version = "2022.10.14.1"; </del> <ins> pname = "bottles-unwrapped"; version = "2022.11.14"; </ins> src = fetchFromGitHub { owner = "bottlesdevs"; <del> repo = pname; </del> <ins> repo = "bottles"; </ins> rev = version; <del> sha256 = "sha256-FO91GSGlc2f3TSLrlmRDPi5p933/Y16tdEpX4RcKhL0="; </del> <ins> sha256 = "sha256-bigrJtqx9iZURYojwxlGe7xSGWS13wSaGcrTTROP9J8="; </ins> }; patches = [ ./vulkan_icd.patch ]; <del> postPatch = '' chmod +x build-aux/meson/postinstall.py patchShebangs build-aux/meson/postinstall.py substituteInPlace bottles/backend/wine/winecommand.py  --replace  "command = f"{runner} {command}""  "command = f"{''' if runner == 'wine' or runner == 'wine64' else '${steam-run}/bin/steam-run '}{runner} {command}""  --replace  "command = f"{_picked['entry_point']} {command}""  "command = f"${steam-run}/bin/steam-run {_picked['entry_point']} {command}"" ''; </del> nativeBuildInputs = [ blueprint-compiler meson

p7zip xdpyinfo imagemagick <del> procps </del> <ins> vkbasalt-cli </ins> gamescope mangohud vmtouch <del> wine </del> <ins> # Undocumented (subprocess.Popen()) lsb-release pciutils procps </ins> ]; format = "other";

<ins> { lib , buildFHSUserEnvBubblewrap , symlinkJoin , bottles-unwrapped , extraPkgs ? pkgs: [ ] , extraLibraries ? pkgs: [ ] }: let fhsEnv = { targetPkgs = pkgs: with pkgs; [ bottles-unwrapped vkbasalt ] ++ extraPkgs pkgs; multiPkgs = let xorgDeps = pkgs: with pkgs.xorg; [ libpthreadstubs libSM libX11 libXaw libxcb libXcomposite libXcursor libXdmcp libXext libXi libXinerama libXmu libXrandr libXrender libXv libXxf86vm ]; in pkgs: with pkgs; [ # https://wiki.winehq.org/Building_Wine alsa-lib cups dbus fontconfig freetype glib gnutls libglvnd gsm gst_all_1.gstreamer gst_all_1.gst-plugins-base libgphoto2 libjpeg_turbo libkrb5 libpcap libpng libpulseaudio libtiff libunwind libusb1 libv4l libxml2 mpg123 ocl-icd openldap samba4 sane-backends SDL2 udev vulkan-loader # https://www.gloriouseggroll.tv/how-to-get-out-of-wine-dependency-hell/ alsa-plugins dosbox giflib gtk3 libva libxslt ncurses openal # Steam runtime libgcrypt libgpg-error p11-kit zlib # Freetype ] ++ xorgDeps pkgs ++ extraLibraries pkgs; }; in symlinkJoin { name = "bottles"; paths = [ (buildFHSUserEnvBubblewrap (fhsEnv // { name = "bottles"; runScript = "bottles"; })) (buildFHSUserEnvBubblewrap (fhsEnv // { name = "bottles-cli"; runScript = "bottles-cli"; })) ]; postBuild = '' mkdir -p $out/share ln -s ${bottles-unwrapped}/share/applications $out/share ln -s ${bottles-unwrapped}/share/icons $out/share ''; inherit (bottles-unwrapped) meta; } </ins>

diff --git a/bottles/backend/utils/vulkan.py b/bottles/backend/utils/vulkan.py <del> index 6673493..07f70d1 100644 </del> <ins> index 6673493..9191004 100644 </ins> --- a/bottles/backend/utils/vulkan.py +++ b/bottles/backend/utils/vulkan.py <del> @@ -29,6 +29,8 @@ class VulkanUtils: </del> <ins> @@ -28,7 +28,9 @@ class VulkanUtils: "/usr/share/vulkan", </ins> "/etc/vulkan", "/usr/local/share/vulkan", <del> "/usr/local/etc/vulkan" +        "/run/opengl-driver/share/vulkan/", +        "/run/opengl-driver-32/share/vulkan/", </del> <ins> -        "/usr/local/etc/vulkan" +        "/usr/local/etc/vulkan", +        "/run/opengl-driver/share/vulkan", +        "/run/opengl-driver-32/share/vulkan", </ins> ] if "FLATPAK_ID" in os.environ: __vk_icd_dirs += [

<del> { lib , stdenv , fetchFromGitHub , glslang , meson , ninja , pkg-config , libX11 , spirv-headers , vulkan-headers , vkBasalt32 }: stdenv.mkDerivation rec { pname = "vkBasalt"; version = "0.3.2.6"; src = fetchFromGitHub { owner = "DadSchoorse"; repo = pname; rev = "v${version}"; sha256 = "sha256-wk/bmbwdE1sBZPlD+EqXfQWDITIfCelTpoFBtNtZV8Q="; }; nativeBuildInputs = [ glslang meson ninja pkg-config ]; buildInputs = [ libX11 spirv-headers vulkan-headers ]; mesonFlags = [ "-Dappend_libdir_vkbasalt=true" ]; # Include 32bit layer in 64bit build postInstall = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") '' ln -s ${vkBasalt32}/share/vulkan/implicit_layer.d/vkBasalt.json  "$out/share/vulkan/implicit_layer.d/vkBasalt32.json" ''; meta = with lib; { description = "A Vulkan post processing layer for Linux"; homepage = "https://github.com/DadSchoorse/vkBasalt"; license = licenses.zlib; maintainers = with maintainers; [ kira-bruneau ]; platforms = platforms.linux; }; } </del>

<ins> { lib , python3Packages , fetchFromGitLab , vkbasalt }: python3Packages.buildPythonApplication rec { pname = "vkbasalt-cli"; version = "3.1.1"; src = fetchFromGitLab { owner = "TheEvilSkeleton"; repo = pname; rev = "v${version}"; sha256 = "sha256-4MFqndnvwAsqyer9kMNuCZFP/Xdl7W//AyCe7n83328="; }; postPatch = '' substituteInPlace vkbasalt/lib.py  --replace /usr ${vkbasalt} ''; pythonImportsCheck = [ "vkbasalt.lib" ]; meta = with lib; { description = "Command-line utility for vkBasalt"; homepage = "https://gitlab.com/TheEvilSkeleton/vkbasalt-cli"; license = with licenses; [ lgpl3Only gpl3Only ]; maintainers = with maintainers; [ martfont ]; }; } </ins>

<ins> { lib , stdenv , fetchFromGitHub , glslang , meson , ninja , pkg-config , libX11 , spirv-headers , vulkan-headers , vkbasalt32 }: stdenv.mkDerivation rec { pname = "vkbasalt"; version = "0.3.2.6"; src = fetchFromGitHub { owner = "DadSchoorse"; repo = pname; rev = "v${version}"; sha256 = "sha256-wk/bmbwdE1sBZPlD+EqXfQWDITIfCelTpoFBtNtZV8Q="; }; nativeBuildInputs = [ glslang meson ninja pkg-config ]; buildInputs = [ libX11 spirv-headers vulkan-headers ]; mesonFlags = [ "-Dappend_libdir_vkbasalt=true" ]; postInstall = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") '' install -Dm 644 $src/config/vkBasalt.conf $out/share/vkBasalt/vkBasalt.conf # Include 32bit layer in 64bit build ln -s ${vkbasalt32}/share/vulkan/implicit_layer.d/vkBasalt.json  "$out/share/vulkan/implicit_layer.d/vkBasalt32.json" ''; meta = with lib; { description = "A Vulkan post processing layer for Linux"; homepage = "https://github.com/DadSchoorse/vkBasalt"; license = licenses.zlib; maintainers = with maintainers; [ kira-bruneau ]; platforms = platforms.linux; }; } </ins>

virtmanager = virt-manager; # Added 2019-10-29 virtmanager-qt = virt-manager-qt; # Added 2019-10-29 virtviewer = throw "'virtviewer' has been renamed to/replaced by 'virt-viewer'"; # Converted to throw 2022-02-22 <ins> vkBasalt = vkbasalt; # Added 2022-11-22 </ins> vnc2flv = throw "vnc2flv has been removed: abandoned by upstream"; # Added 2022-03-21 vorbisTools = throw "'vorbisTools' has been renamed to/replaced by 'vorbis-tools'"; # Converted to throw 2022-02-22 vtun = throw "vtune has been removed as it's unmaintained upstream"; # Added 2021-10-29

vix = callPackage ../tools/misc/vix { }; <del> vkBasalt = callPackage ../tools/graphics/vkBasalt { vkBasalt32 = pkgsi686Linux.vkBasalt; </del> <ins> vkbasalt = callPackage ../tools/graphics/vkbasalt { vkbasalt32 = pkgsi686Linux.vkbasalt; </ins> }; <ins> vkbasalt-cli = callPackage ../tools/graphics/vkbasalt-cli { }; </ins> vkmark = callPackage ../tools/graphics/vkmark { }; vncrec = callPackage ../tools/video/vncrec { };

bonzomatic = callPackage ../applications/editors/bonzomatic { }; <del> bottles = callPackage ../applications/misc/bottles { wine = null; }; </del> <ins> bottles = callPackage ../applications/misc/bottles/fhsenv.nix { }; bottles-unwrapped = callPackage ../applications/misc/bottles { }; </ins> brave = callPackage ../applications/networking/browsers/brave { };