Thanks @igel!
Sorry for the delay - I’m just catching up after some travel.
The changes you suggested (shown below) got rid of the the _tkinter
warning, but I’m still getting that ImportError
I mentioned above:
Based on this thread, I also tried adding the gccStdenv
package to buildInputs
and adding the line
LD_LIBRARY_PATH="${lib.makeLibraryPath [stdenv.cc.cc]}";
Updated nix.shell
:
{ pkgs ? import <nixpkgs> {} }:
let
mach-nix = import (
builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix/";
ref = "refs/tags/3.3.0";
}
) {};
custom-python = mach-nix.mkPython {
python = "python38Full";
requirements = ''
pip
ipython
griddly
matplotlib
pygame
'';
providers = {
_default = "wheel,sdist,nixpkgs";
};
};
in
with pkgs;
mkShell {
buildInputs = [
custom-python
# tried with and without this next line:
gccStdenv
# griddly requires the Vulkan-SDK. Is this it?
vulkan-headers
vulkan-loader
vulkan-tools
];
# tried with and without this next line:
LD_LIBRARY_PATH="${lib.makeLibraryPath [stdenv.cc.cc]}";
}
See below. Hmmm…it also looks like I’m using Wayland, though I don’t think I’ve done any sort of configuration there. Thought the default was straight X11?
In any case, I’d really appreciate help debugging the vulkan error. What should I try next?