make the vscode devshell the default, and work around weirdness in starship
This commit is contained in:
parent
0c2f912793
commit
918d96ddd6
10
flake.nix
10
flake.nix
|
@ -40,8 +40,9 @@
|
|||
libxkbcommon wayland # To use wayland feature
|
||||
gdk-pixbuf atk pango cairo gtk3-x11 # additional dependencies for voxel-level-editor
|
||||
];
|
||||
in {
|
||||
devShell =
|
||||
in rec {
|
||||
devShell = devShells.vscode;
|
||||
devShells.novscode =
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = toolchain ++ (nativeBuildInputs pkgs);
|
||||
buildInputs = (buildInputs pkgs);
|
||||
|
@ -67,8 +68,11 @@
|
|||
sha256 = "sha256-SMHLg2h51aRvOyqLd4JILYzsBY5HkMXm28iVSTdX43U=";
|
||||
}
|
||||
];
|
||||
})];
|
||||
}) pkgs.zsh ];
|
||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (buildInputs pkgs);
|
||||
shellHook = ''
|
||||
alias code="SHELL=zsh code" # horrible workaround for the combo of bash + vscode + nix-shell breaking starship.
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue