Skip to content

Commit 924c596

Browse files
committed
nix: Fix --pr-only
Without this change, running "superflore-gen-nix --pr-only" fails with this error: !!!! Failed to file PR! !!!! reason: Cmd('/nix/store/cjw8ydwnifad0wdlkhpsyrdm18bcmg63-git-minimal-2.47.2/bin/git') failed due to: exit code(128) cmdline: /nix/store/cjw8ydwnifad0wdlkhpsyrdm18bcmg63-git-minimal-2.47.2/bin/git clone -v --branch=master -- https://github.com/./False False stderr: 'Cloning into 'False'... remote: Not Found fatal: repository 'https://github.com/./False/' not found ' Signed-off-by: Michal Sojka <michal.sojka@cvut.cz>
1 parent 392ca5d commit 924c596

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • superflore/generators/nix

superflore/generators/nix/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main():
5959
if not args.output_repository_path:
6060
parser.error('Invalid args! no repository specified')
6161
try:
62-
prev_overlay = RepoInstance(args.output_repository_path, False)
62+
prev_overlay = NixRosOverlay(args.output_repository_path, False)
6363
msg, title = load_pr()
6464
prev_overlay.pull_request(msg, title=title)
6565
clean_up()

0 commit comments

Comments
 (0)