mirror of
https://github.com/nix-community/dream2nix.git
synced 2025-01-08 07:41:12 +03:00
commit
9fc3c648ed
@ -222,7 +222,7 @@ class PackageCommand(Command):
|
|||||||
print(f"Please specify '{arg_name}': {arg['description']}")
|
print(f"Please specify '{arg_name}': {arg['description']}")
|
||||||
print(f"Example values: " + ', '.join(arg['examples']))
|
print(f"Example values: " + ', '.join(arg['examples']))
|
||||||
if 'default' in arg:
|
if 'default' in arg:
|
||||||
print(f"\nLeave emtpy for default ({arg['default']})")
|
print(f"\nLeave empty for default ({arg['default']})")
|
||||||
specified_extra_args[arg_name] = self.ask(f"{arg_name}:", arg.get('default'))
|
specified_extra_args[arg_name] = self.ask(f"{arg_name}:", arg.get('default'))
|
||||||
|
|
||||||
# arguments for calling the translator nix module
|
# arguments for calling the translator nix module
|
||||||
@ -329,7 +329,7 @@ class PackageCommand(Command):
|
|||||||
|
|
||||||
print("Building FOD of combined sources to retrieve output hash")
|
print("Building FOD of combined sources to retrieve output hash")
|
||||||
|
|
||||||
# remove hashes from lock file and init sourcesCombinedHash with emtpy string
|
# remove hashes from lock file and init sourcesCombinedHash with empty string
|
||||||
strip_hashes_from_lock(lock)
|
strip_hashes_from_lock(lock)
|
||||||
lock['generic']['sourcesCombinedHash'] = ""
|
lock['generic']['sourcesCombinedHash'] = ""
|
||||||
with open(outputDreamLock, 'w') as f:
|
with open(outputDreamLock, 'w') as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user