From 2d72c3e7dfb2a60ed9af4f8f85d0392b335e9fff Mon Sep 17 00:00:00 2001 From: Aner Zakobar Date: Sun, 26 Apr 2026 00:13:20 +0300 Subject: [PATCH] Fixed flake lock submodule things --- AGENTS.md | 4 ++-- flake.lock | 24 ++++++++++++------------ shells/defaultShell.nix | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index ae89a39..853742a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -23,8 +23,8 @@ nix build .#formatter.x86_64-linux ```bash # Rebuild the azos environment for lauretta (this machine) — use this when asked to "rebuild" sudo nixos-rebuild switch --flake '.?submodules=1#lauretta' -nix flake update # Update all inputs -nix flake lock --update-input X # Update specific input +nix flake update --flake '.?submodules=1' # Update all inputs +nix flake lock --flake '.?submodules=1' --update-input X # Update specific input ``` > **Note**: When the user asks to "rebuild", they mean rebuilding the lauretta environment with the command above — NOT building the VM. diff --git a/flake.lock b/flake.lock index a859092..ddc0f04 100644 --- a/flake.lock +++ b/flake.lock @@ -96,11 +96,11 @@ ] }, "locked": { - "lastModified": 1774647770, - "narHash": "sha256-UNNi14XiqRWWjO8ykbFwA5wRwx7EscsC+GItOVpuGjc=", + "lastModified": 1777138498, + "narHash": "sha256-mZdL0akv+PiA9h4DXNVGCqUeV5NiODy5lzRWoDsYhtI=", "owner": "nix-community", "repo": "home-manager", - "rev": "02371c05a04a2876cf92e2d67a259e8f87399068", + "rev": "026e21038902970e54226133e718e8c197fac799", "type": "github" }, "original": { @@ -166,11 +166,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1774567711, - "narHash": "sha256-uVlOHBvt6Vc/iYNJXLPa4c3cLXwMllOCVfAaLAcphIo=", + "lastModified": 1776983936, + "narHash": "sha256-ZOQyNqSvJ8UdrrqU1p7vaFcdL53idK+LOM8oRWEWh6o=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "3f6f874dfc34d386d10e434c48ad966c4832243e", + "rev": "2096f3f411ce46e88a79ae4eafcfc9df8ed41c61", "type": "github" }, "original": { @@ -196,11 +196,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1774386573, - "narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=", + "lastModified": 1776877367, + "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9", + "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57", "type": "github" }, "original": { @@ -257,11 +257,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1774273680, - "narHash": "sha256-a++tZ1RQsDb1I0NHrFwdGuRlR5TORvCEUksM459wKUA=", + "lastModified": 1776949667, + "narHash": "sha256-GMSVw35Q+294GlrTUKlx087E31z7KurReQ1YHSKp5iw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fdc7b8f7b30fdbedec91b71ed82f36e1637483ed", + "rev": "01fbdeef22b76df85ea168fbfe1bfd9e63681b30", "type": "github" }, "original": { diff --git a/shells/defaultShell.nix b/shells/defaultShell.nix index 28cfe45..d4ed711 100644 --- a/shells/defaultShell.nix +++ b/shells/defaultShell.nix @@ -7,9 +7,9 @@ pkgs.mkShell { "sudo nixos-rebuild switch --flake '.?submodules=1#lauretta'") (pkgs.writeShellScriptBin "azos-update-azos-core" - "nix flake update azos-core") + "nix flake update --flake '.?submodules=1' azos-core") (pkgs.writeShellScriptBin "azos-update" - "nix flake update") + "nix flake update --flake '.?submodules=1'") ]; }