pyshell: add glib (as well as glibc), option for extraLibs
This commit is contained in:
parent
dbb69ee11d
commit
460b5eea1c
|
@ -2,17 +2,19 @@
|
|||
pkgs ? import <nixpkgs> { },
|
||||
python3 ? pkgs.python3Full,
|
||||
extraPackages ? with pkgs; [ uv ],
|
||||
extraLibs ? [ ],
|
||||
}:
|
||||
let
|
||||
inherit (pkgs) lib;
|
||||
ldlibs = lib.makeLibraryPath (
|
||||
with pkgs;
|
||||
[
|
||||
(with pkgs; [
|
||||
stdenv.cc.cc
|
||||
glib
|
||||
glibc
|
||||
zlib
|
||||
zstd
|
||||
]
|
||||
])
|
||||
++ extraLibs
|
||||
);
|
||||
pythonWrapped = pkgs.symlinkJoin {
|
||||
name = "python";
|
||||
|
|
Loading…
Reference in a new issue