Pushing updates.
This commit is contained in:
parent
c8d0651bab
commit
d4e38781ce
2 changed files with 15 additions and 1 deletions
|
|
@ -51,7 +51,18 @@ in
|
|||
# mutableExtensionsDir keeps GUI-installed extensions working.
|
||||
programs.vscode = lib.mkIf isDesktop {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
# 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 {
|
||||
name = "vscodium";
|
||||
paths = [ pkgs.vscodium ];
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/codium \
|
||||
--prefix LD_LIBRARY_PATH : "${pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib ]}"
|
||||
'';
|
||||
};
|
||||
mutableExtensionsDir = true;
|
||||
profiles.default.userSettings = {
|
||||
"window.menuBarVisibility" = "compact";
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@
|
|||
];
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
stdenv.cc.cc.lib # libstdc++.so.6 — needed by VSCodium extension native addons (e.g. sqlite3 in Continue)
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue