vinegar: use finalAttrs
This commit is contained in:
@@ -53,14 +53,14 @@ let
|
||||
];
|
||||
});
|
||||
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 +133,7 @@ buildGoModule rec {
|
||||
winetricks
|
||||
]
|
||||
} \
|
||||
--prefix PUREGOTK_LIB_FOLDER : ${passthru.libraryPath}/lib
|
||||
--prefix PUREGOTK_LIB_FOLDER : ${finalAttrs.passthru.libraryPath}/lib
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
@@ -155,7 +155,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 +164,4 @@ buildGoModule rec {
|
||||
platforms = [ "x86_64-linux" ];
|
||||
sourceProvenance = [ lib.sourceTypes.fromSource ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user