mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
Add a utility function for creating/registering a simple flake
This commit is contained in:
parent
e1cb905aca
commit
4cafea7c7b
5 changed files with 14 additions and 25 deletions
|
@ -4,15 +4,9 @@ source ./common.sh
|
|||
|
||||
TODO_NixOS
|
||||
|
||||
requireGit
|
||||
createFlake1
|
||||
|
||||
flake1Dir=$TEST_ROOT/flake1
|
||||
lockfileSummaryFlake=$TEST_ROOT/lockfileSummaryFlake
|
||||
|
||||
createGitRepo "$flake1Dir" ""
|
||||
createSimpleGitFlake "$flake1Dir"
|
||||
nix registry add --registry "$registry" flake1 "git+file://$flake1Dir"
|
||||
|
||||
createGitRepo "$lockfileSummaryFlake" "--initial-branch=main"
|
||||
|
||||
# Test that the --commit-lock-file-summary flag and its alias work
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue