mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 18:17:44 +00:00
python: remove attrValues and set UV env vars
This commit is contained in:
parent
cb216d39f1
commit
30d4b5e421
1 changed files with 10 additions and 7 deletions
|
@ -1,10 +1,13 @@
|
||||||
{ lib, pkgs, ... }: let
|
{ pkgs, ... }: let
|
||||||
inherit (lib) attrValues;
|
package = pkgs.python314;
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = attrValues {
|
environmennt.variables = {
|
||||||
inherit (pkgs)
|
UV_PYTHON_PREFERENCE = "system";
|
||||||
python314
|
UV_PYTHON = "${package}";
|
||||||
uv
|
|
||||||
;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [
|
||||||
|
package
|
||||||
|
pkgs.uv
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue