Fixes
This commit is contained in:
parent
d4e38781ce
commit
c299ead75c
1 changed files with 12 additions and 9 deletions
|
|
@ -54,7 +54,10 @@ in
|
|||
# Wrap codium so user-installed extension native addons (.node files from
|
||||
# npm) can find libstdc++.so.6 — those binaries have empty RPATHs and
|
||||
# Electron's patched interpreter won't pick up nix-ld's stubs.
|
||||
package = pkgs.symlinkJoin {
|
||||
# The `// { pname; version }` forwards those attrs so programs.vscode's
|
||||
# module (which reads cfg.package.pname) can still identify the variant.
|
||||
package =
|
||||
let base = pkgs.symlinkJoin {
|
||||
name = "vscodium";
|
||||
paths = [ pkgs.vscodium ];
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
|
|
@ -62,7 +65,7 @@ in
|
|||
wrapProgram $out/bin/codium \
|
||||
--prefix LD_LIBRARY_PATH : "${pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib ]}"
|
||||
'';
|
||||
};
|
||||
}; in base // { inherit (pkgs.vscodium) pname version; };
|
||||
mutableExtensionsDir = true;
|
||||
profiles.default.userSettings = {
|
||||
"window.menuBarVisibility" = "compact";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue