Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit 932cf37

Browse files
committed
nix-shell sure run in "pure" environment
1 parent 6c6acd2 commit 932cf37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pypi2nix/stage1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def main(requirements_files,
3030
a user provided requirements.txt.
3131
"""
3232

33-
command = 'nix-shell {pip} {options} {nix_path} --show-trace --run exit'.format( # noqa
33+
command = 'nix-shell {pip} {options} {nix_path} --show-trace --pure --run exit'.format( # noqa
3434
pip=os.path.join(os.path.dirname(__file__), 'pip.nix'),
3535
options=create_command_options(dict(
3636
requirements_files=requirements_files,

0 commit comments

Comments
 (0)