Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode: Wrap with GAppsHook #45289

Merged
merged 1 commit into from Aug 18, 2018
Merged

vscode: Wrap with GAppsHook #45289

merged 1 commit into from Aug 18, 2018

Conversation

Chiiruno
Copy link
Contributor

@Chiiruno Chiiruno commented Aug 18, 2018

Motivation for this change

Fixes #45286

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@@ -49,8 +49,8 @@ in
};

buildInputs = if stdenv.system == "x86_64-darwin"
then [ unzip makeWrapper libXScrnSaver libsecret ]
else [ makeWrapper libXScrnSaver libxkbfile libsecret ];
then [ unzip makeWrapper wrapGAppsHook libXScrnSaver libsecret ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Darwin probably does not need it. If it is like Atom, they use a different front-end for MacOS.

@Chiiruno
Copy link
Contributor Author

@jtojnar Okay, is this good?

Copy link
Contributor

@jtojnar jtojnar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, wrapGAppsHook would go to nativeBuildInputs but electron packages are ugly abominations so it probably does not matter.

@@ -50,7 +50,7 @@ in

buildInputs = if stdenv.system == "x86_64-darwin"
then [ unzip makeWrapper libXScrnSaver libsecret ]
else [ makeWrapper libXScrnSaver libxkbfile libsecret ];
else [ makeWrapper wrapGAppsHook libXScrnSaver libxkbfile libsecret ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is makeWrapper in the list? To me it looks like it could be removed.

@Chiiruno
Copy link
Contributor Author

@Mic92 All good?

@Mic92
Copy link
Member

Mic92 commented Aug 18, 2018

Is a backport required here?

@Chiiruno Chiiruno deleted the dev/vscode branch August 18, 2018 16:57
@Chiiruno
Copy link
Contributor Author

Backport?
What do you mean?

@Mic92
Copy link
Member

Mic92 commented Aug 18, 2018

is 18.03 also affected?

@Chiiruno
Copy link
Contributor Author

I'm afraid I have no idea, but if the last commit I made to vscode, before this one, is on 18.03, then yes.

@gebner
Copy link
Member

gebner commented Aug 19, 2018

At least for me, #45286 only appeared after the upgrade to vscode 1.26.0. 18.03 is on vscode 1.23.0, so it should be fine. I think we only need to backport this fix if we also upgrade vscode on the release branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants