mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 10:07: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
|
||||
inherit (lib) attrValues;
|
||||
{ pkgs, ... }: let
|
||||
package = pkgs.python314;
|
||||
in {
|
||||
environment.systemPackages = attrValues {
|
||||
inherit (pkgs)
|
||||
python314
|
||||
uv
|
||||
;
|
||||
environmennt.variables = {
|
||||
UV_PYTHON_PREFERENCE = "system";
|
||||
UV_PYTHON = "${package}";
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
package
|
||||
pkgs.uv
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue