fix(nix): resolve stdenv deprecation warnings and gemini-cli deprecation

This commit is contained in:
Noah Masur
2026-08-24 20:22:43 -06:00
parent 32989f1758
commit 4ba1ed807c
23 changed files with 48 additions and 43 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Fix: Volnoti error: 'volnoti' has been removed due to lack of maintenance upstream.
{ pkgs, lib, ... }:
if !pkgs.stdenv.isLinux then
if !pkgs.stdenv.hostPlatform.isLinux then
null
else
pkgs.stdenv.mkDerivation {
+1 -1
View File
@@ -6,7 +6,7 @@
dotnetCorePackages,
}:
if !stdenv.isLinux then
if !stdenv.hostPlatform.isLinux then
null
else
buildDotnetModule rec {
+1 -1
View File
@@ -3,7 +3,7 @@
# Inspired by https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix
# This script will partition and format drives; use at your own risk!
if !pkgs.stdenv.isLinux then
if !pkgs.stdenv.hostPlatform.isLinux then
null
else
pkgs.writeShellScriptBin "installer" ''
+1 -1
View File
@@ -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