mirror of
https://github.com/nmasur/dotfiles
synced 2026-12-05 11:39:14 +00:00
fix(nix): resolve stdenv deprecation warnings and gemini-cli deprecation
This commit is contained in:
1 parent
32989f1758
commit
4ba1ed807c
23 files changed
+48
-43
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
pkgs.writeShellScriptBin "rebuild" ''
|
||||
echo ${pkgs.stdenv.hostPlatform.system}
|
||||
SYSTEM=${if pkgs.stdenv.isDarwin then "darwin" else "linux"}
|
||||
SYSTEM=${if pkgs.stdenv.hostPlatform.isDarwin then "darwin" else "linux"}
|
||||
if [ "$SYSTEM" == "darwin" ]; then
|
||||
sudo darwin-rebuild switch --flake ${builtins.toString ../../../../.}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user