Fixed flake lock submodule things

This commit is contained in:
2026-04-26 00:13:20 +03:00
parent 315e73c63c
commit 2d72c3e7df
3 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ nix build .#formatter.x86_64-linux
```bash ```bash
# Rebuild the azos environment for lauretta (this machine) — use this when asked to "rebuild" # Rebuild the azos environment for lauretta (this machine) — use this when asked to "rebuild"
sudo nixos-rebuild switch --flake '.?submodules=1#lauretta' sudo nixos-rebuild switch --flake '.?submodules=1#lauretta'
nix flake update # Update all inputs nix flake update --flake '.?submodules=1' # Update all inputs
nix flake lock --update-input X # Update specific input 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. > **Note**: When the user asks to "rebuild", they mean rebuilding the lauretta environment with the command above — NOT building the VM.
Generated
+12 -12
View File
@@ -96,11 +96,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1774647770, "lastModified": 1777138498,
"narHash": "sha256-UNNi14XiqRWWjO8ykbFwA5wRwx7EscsC+GItOVpuGjc=", "narHash": "sha256-mZdL0akv+PiA9h4DXNVGCqUeV5NiODy5lzRWoDsYhtI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "02371c05a04a2876cf92e2d67a259e8f87399068", "rev": "026e21038902970e54226133e718e8c197fac799",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -166,11 +166,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1774567711, "lastModified": 1776983936,
"narHash": "sha256-uVlOHBvt6Vc/iYNJXLPa4c3cLXwMllOCVfAaLAcphIo=", "narHash": "sha256-ZOQyNqSvJ8UdrrqU1p7vaFcdL53idK+LOM8oRWEWh6o=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "3f6f874dfc34d386d10e434c48ad966c4832243e", "rev": "2096f3f411ce46e88a79ae4eafcfc9df8ed41c61",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -196,11 +196,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1774386573, "lastModified": 1776877367,
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=", "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9", "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -257,11 +257,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1774273680, "lastModified": 1776949667,
"narHash": "sha256-a++tZ1RQsDb1I0NHrFwdGuRlR5TORvCEUksM459wKUA=", "narHash": "sha256-GMSVw35Q+294GlrTUKlx087E31z7KurReQ1YHSKp5iw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fdc7b8f7b30fdbedec91b71ed82f36e1637483ed", "rev": "01fbdeef22b76df85ea168fbfe1bfd9e63681b30",
"type": "github" "type": "github"
}, },
"original": { "original": {
+2 -2
View File
@@ -7,9 +7,9 @@ pkgs.mkShell {
"sudo nixos-rebuild switch --flake '.?submodules=1#lauretta'") "sudo nixos-rebuild switch --flake '.?submodules=1#lauretta'")
(pkgs.writeShellScriptBin (pkgs.writeShellScriptBin
"azos-update-azos-core" "azos-update-azos-core"
"nix flake update azos-core") "nix flake update --flake '.?submodules=1' azos-core")
(pkgs.writeShellScriptBin (pkgs.writeShellScriptBin
"azos-update" "azos-update"
"nix flake update") "nix flake update --flake '.?submodules=1'")
]; ];
} }