fix rebuilds and broken packages after update

This commit is contained in:
Noah Masur
2025-11-15 10:40:33 -05:00
parent 5c922310f5
commit e4a8ef15ce
6 changed files with 39 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
{ pkgs, ... }:
pkgs.writeShellScriptBin "rebuild" ''
echo ${pkgs.system}
echo ${pkgs.stdenv.hostPlatform.system}
SYSTEM=${if pkgs.stdenv.isDarwin then "darwin" else "linux"}
if [ "$SYSTEM" == "darwin" ]; then
sudo darwin-rebuild switch --flake ${builtins.toString ../../../../.}