Merge pull request #212063 from linsui/vscodepassthru

buildVscodeExtension: fix passthru
This commit is contained in:
Nick Cao 2023-01-27 08:18:35 +08:00 committed by GitHub
commit 4296d0dd8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,13 +19,14 @@ let
dontPatchELF ? true,
dontStrip ? true,
nativeBuildInputs ? [],
passthru ? { },
...
}:
stdenv.mkDerivation ((removeAttrs a [ "vscodeExtUniqueId" ]) // {
name = "vscode-extension-${name}";
passthru = {
passthru = passthru // {
inherit vscodeExtPublisher vscodeExtName vscodeExtUniqueId;
};