Compare commits
1 Commits
dc1d0c8653
...
66d4c95f0d
Author | SHA1 | Date |
---|---|---|
|
66d4c95f0d |
15
default.nix
15
default.nix
|
@ -123,8 +123,23 @@ 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