Compare commits
1 Commits
66d4c95f0d
...
dc1d0c8653
Author | SHA1 | Date |
---|---|---|
|
dc1d0c8653 |
15
default.nix
15
default.nix
|
@ -123,23 +123,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
export PATCH
|
export PATCH
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
# Maybe create venv & install deps
|
|
||||||
poetry install --with uis
|
|
||||||
|
|
||||||
# Use pyqt6 from System, patch activate script
|
|
||||||
ACTIVATE_SCRIPT_PATH="$(poetry env info --path)/bin/activate"
|
|
||||||
|
|
||||||
if grep -q "$PATCH" "$ACTIVATE_SCRIPT_PATH"; then
|
|
||||||
echo "venv is already patched."
|
|
||||||
else
|
|
||||||
echo "patching $ACTIVATE_SCRIPT_PATH to use pyqt6 from nixos..."
|
|
||||||
sed -i "\$i$PATCH" $ACTIVATE_SCRIPT_PATH
|
|
||||||
fi
|
|
||||||
=======
|
|
||||||
# Install deps
|
# Install deps
|
||||||
uv lock
|
uv lock
|
||||||
>>>>>>> dc2b2555 (uv migration)
|
|
||||||
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue