summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-07-04 11:20:27 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-07-04 11:20:27 +0530
commitc21796b9d1eb85cc92ea37ac3101395cf9c2736f (patch)
treeae2de146b9ac9437813e54de52a87b0de0cab003
parent5f4632acfc20cf0d402d5f87d4a97ecf7bd83401 (diff)
shell error fix
-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 '''';
}