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:
commit
fcee4f47d6
1 changed files with 9 additions and 5 deletions
|
@ -51,16 +51,20 @@ let
|
||||||
hash = "sha256-89wnr2rIbyw490hHwckB9g1GKCXm6BERnplfwEUlNOg=";
|
hash = "sha256-89wnr2rIbyw490hHwckB9g1GKCXm6BERnplfwEUlNOg=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
cp $out/bin/wine $out/bin/wine64
|
||||||
|
'';
|
||||||
});
|
});
|
||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "vinegar";
|
pname = "vinegar";
|
||||||
version = "1.8.1";
|
version = "1.8.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vinegarhq";
|
owner = "vinegarhq";
|
||||||
repo = "vinegar";
|
repo = "vinegar";
|
||||||
tag = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-7rc6LKZx0OOZDedtTpHIQT4grx1FejRiVnJnVDUddy4=";
|
hash = "sha256-7rc6LKZx0OOZDedtTpHIQT4grx1FejRiVnJnVDUddy4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -133,7 +137,7 @@ buildGoModule rec {
|
||||||
winetricks
|
winetricks
|
||||||
]
|
]
|
||||||
} \
|
} \
|
||||||
--prefix PUREGOTK_LIB_FOLDER : ${passthru.libraryPath}/lib
|
--prefix PUREGOTK_LIB_FOLDER : ${finalAttrs.passthru.libraryPath}/lib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -155,7 +159,7 @@ buildGoModule rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
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";
|
description = "Open-source, minimal, configurable, fast bootstrapper for running Roblox Studio on Linux";
|
||||||
homepage = "https://github.com/vinegarhq/vinegar";
|
homepage = "https://github.com/vinegarhq/vinegar";
|
||||||
license = lib.licenses.gpl3Only;
|
license = lib.licenses.gpl3Only;
|
||||||
|
@ -164,4 +168,4 @@ buildGoModule rec {
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
sourceProvenance = [ lib.sourceTypes.fromSource ];
|
sourceProvenance = [ lib.sourceTypes.fromSource ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue