mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix shell.nix
This commit is contained in:
parent
d4d223dbf0
commit
8b2dd048d3
@ -12,13 +12,14 @@ in
|
|||||||
aspnetcore_6_0
|
aspnetcore_6_0
|
||||||
])
|
])
|
||||||
python3
|
python3
|
||||||
|
python3Packages.pip
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
# Install python modules
|
# Install python modules
|
||||||
SOURCE_DATE_EPOCH=$(date +%s)
|
SOURCE_DATE_EPOCH=$(date +%s)
|
||||||
if [ ! -d "${venvDir}" ]; then
|
if [ ! -d "${venvDir}" ]; then
|
||||||
${pkgs.python3} -m venv "${venvDir}"
|
${pkgs.python3}/bin/python3 -m venv "${venvDir}"
|
||||||
fi
|
fi
|
||||||
source "${venvDir}/bin/activate"
|
source "${venvDir}/bin/activate"
|
||||||
export PIP_DISABLE_PIP_VERSION_CHECK=1
|
export PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user