0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

vinegar: fix missing wine binary from PATH (#403617)

This commit is contained in:
Aleksana 2025-05-03 18:52:03 +08:00 committed by GitHub
commit fcee4f47d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,16 +51,20 @@ let
hash = "sha256-89wnr2rIbyw490hHwckB9g1GKCXm6BERnplfwEUlNOg=";
})
];
postInstall = ''
cp $out/bin/wine $out/bin/wine64
'';
});
in
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "vinegar";
version = "1.8.1";
src = fetchFromGitHub {
owner = "vinegarhq";
repo = "vinegar";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-7rc6LKZx0OOZDedtTpHIQT4grx1FejRiVnJnVDUddy4=";
};
@ -133,7 +137,7 @@ buildGoModule rec {
winetricks
]
} \
--prefix PUREGOTK_LIB_FOLDER : ${passthru.libraryPath}/lib
--prefix PUREGOTK_LIB_FOLDER : ${finalAttrs.passthru.libraryPath}/lib
'';
passthru = {
@ -155,7 +159,7 @@ buildGoModule rec {
};
meta = {
changelog = "https://github.com/vinegarhq/vinegar/releases/tag/v${version}";
changelog = "https://github.com/vinegarhq/vinegar/releases/tag/v${finalAttrs.version}";
description = "Open-source, minimal, configurable, fast bootstrapper for running Roblox Studio on Linux";
homepage = "https://github.com/vinegarhq/vinegar";
license = lib.licenses.gpl3Only;
@ -164,4 +168,4 @@ buildGoModule rec {
platforms = [ "x86_64-linux" ];
sourceProvenance = [ lib.sourceTypes.fromSource ];
};
}
})