summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell.nix b/shell.nix
index db036a3..7e1ba4c 100644
--- a/shell.nix
+++ b/shell.nix
@@ -33,9 +33,9 @@ pkgs.mkShell {
rustc
rustup
] else []);
- RUST_SRC_PATH = if install_opt_deps then "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}" else "";
+ RUST_SRC_PATH = if install_opt_deps then "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}" else '''';
shellHook = if install_opt_deps then ''
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath libraries}:$LD_LIBRARY_PATH
export XDG_DATA_DIRS=${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}:$XDG_DATA_DIRS
- '' else "";
+ '' else '''';
}