Open
Description
hi,
i am using the below flake. my goal is just install numpy and pandas on python3.9 for now. i am on latest stable nix. i am getting segmentation when you run python after installation completes without any complaints.
# flake.nix
{
inputs = {
nixpkgs.url = "github:cachix/devenv-nixpkgs/rolling";
systems.url = "github:nix-systems/default";
devenv.url = "github:cachix/devenv";
nixpkgs-python.url = "github:cachix/nixpkgs-python";
};
nixConfig = {
extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=";
extra-substituters = "https://devenv.cachix.org";
};
outputs = { self, nixpkgs, devenv, systems, ... } @ inputs:
let
forEachSystem = nixpkgs.lib.genAttrs (import systems);
in
{
packages = forEachSystem (system: {
devenv-up = self.devShells.${system}.default.config.procfileScript;
});
devShells = forEachSystem
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
default = devenv.lib.mkShell {
inherit inputs pkgs;
modules = [
{
# https://devenv.sh/reference/options/
packages = [
pkgs.hello
];
languages.python = {
enable = true;
version = "3.9.19";
venv = {
enable = true;
quiet = false;
};
};
enterShell = ''
hello
'';
processes.run.exec = "hello";
}
];
};
});
};
}
what is that i am doing wrong here.
Metadata
Assignees
Labels
No labels