Fix topgrade by spawning with `nix-shell --run`

finchie
Mar 18, 2024, 7:15 AM
PU57TJQJDNINFVVGHR4GJTUTJK6QPNMYF7I232VB2BB5YRQCW4AQC

Dependencies

  • [2] HINOSPQO Add simple nushell update script
  • [3] BAT5B53O Refuse to rebuild until repository has no unrecorded changes

Change contents

  • replacement in update.nu at line 32
    [2.875][2.875:893]()
    nix flake update;
    [2.875]
    [2.893]
    # nix flake update;
  • replacement in update.nu at line 36
    [2.985][2.985:1042]()
    topgrade --disable nix --disable system --yes --no-retry
    [2.985]
    nix-shell -p pkg-config openssl --run "topgrade --disable nix --disable system --yes --no-retry";