Merge 9b858ee4a77552086cac56c3d638da61f1e26816 into ba85873f03a1da6ab04287949849815fd97b7bfd

This commit is contained in:
Danish Arora 2026-02-27 04:50:41 +00:00 committed by GitHub
commit 74caab2072
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,10 @@
};
inputs = {
# Ensure Nix fetches git submodules (vendor/*) when evaluating this flake.
# Requires Nix >= 2.27. Consumers no longer need '?submodules=1' in the URL.
self.submodules = true;
# We are pinning the commit because ultimately we want to use same commit across different projects.
# A commit from nixpkgs 24.11 release : https://github.com/NixOS/nixpkgs/tree/release-24.11
nixpkgs.url = "github:NixOS/nixpkgs/0ef228213045d2cdb5a169a95d63ded38670b293";

View File

@ -12,7 +12,7 @@
zerokitRln,
}:
assert pkgs.lib.assertMsg ((src.submodules or true) == true)
assert pkgs.lib.assertMsg (builtins.pathExists "${src}/vendor/nimbus-build-system/scripts")
"Unable to build without submodules. Append '?submodules=1#' to the URI.";
let