Closed
Description
On NixOS this package is completely useless and also sabotages the usage of other packages that depend on it to function.
$ wger bootstrap
Traceback (most recent call last):
File "/home/wger/venv/bin/wger", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/wger/src/wger/__main__.py", line 40, in main
run(invoke_cmd + ' '.join(args), pty=True)
File "/home/wger/venv/lib/python3.11/site-packages/invoke/__init__.py", line 50, in run
return Context().run(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wger/venv/lib/python3.11/site-packages/invoke/context.py", line 104, in run
return self._run(runner, command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wger/venv/lib/python3.11/site-packages/invoke/context.py", line 113, in _run
return runner.run(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wger/venv/lib/python3.11/site-packages/invoke/runners.py", line 395, in run
return self._run_body(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wger/venv/lib/python3.11/site-packages/invoke/runners.py", line 440, in _run_body
self.start(command, self.opts["shell"], self.env)
File "/home/wger/venv/lib/python3.11/site-packages/invoke/runners.py", line 1335, in start
os.execve(shell, [shell, "-c", command], env)
FileNotFoundError: [Errno 2] No such file or directory: '/bin/bash'
Traceback (most recent call last):
File "/home/wger/venv/bin/wger", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/wger/src/wger/__main__.py", line 40, in main
run(invoke_cmd + ' '.join(args), pty=True)
File "/home/wger/venv/lib/python3.11/site-packages/invoke/__init__.py", line 50, in run
return Context().run(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wger/venv/lib/python3.11/site-packages/invoke/context.py", line 104, in run
return self._run(runner, command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wger/venv/lib/python3.11/site-packages/invoke/context.py", line 113, in _run
return runner.run(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wger/venv/lib/python3.11/site-packages/invoke/runners.py", line 395, in run
return self._run_body(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wger/venv/lib/python3.11/site-packages/invoke/runners.py", line 451, in _run_body
return self.make_promise() if self._asynchronous else self._finish()
^^^^^^^^^^^^^^
File "/home/wger/venv/lib/python3.11/site-packages/invoke/runners.py", line 518, in _finish
raise UnexpectedExit(result)
invoke.exceptions.UnexpectedExit: Encountered a bad command exit code!
Command: 'invoke bootstrap'
Exit code: 1
Stdout: already printed
Stderr: n/a (PTYs have no stderr)
On NixOS bash is located here:
$ which bash
/run/current-system/sw/bin/bash
Metadata
Metadata
Assignees
Labels
No labels