Skip to content

Commit df8c9a9

Browse files
committed
build: load python in nix shell
1 parent 5b7f70a commit df8c9a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shell.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{ pkgs ? import <nixpkgs> {} }:
2-
pkgs.mkShell {
2+
pkgs.mkShellNoCC {
33
LD_LIBRARY_PATH=pkgs.lib.strings.makeLibraryPath [pkgs.libglvnd pkgs.zlib];
44
shellHook = ''
55
apply() {
66
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" > .env
77
}
88
'';
9+
packages = with pkgs; [(python3.withPackages (pp: [pp.pip]))];
910
}

0 commit comments

Comments
 (0)