Python: MNE-Fix
parent
29a13e0149
commit
d14c11f044
|
@ -35,6 +35,7 @@
|
|||
config.cudaSupport = true;
|
||||
};
|
||||
};
|
||||
python-overlay = import ./overlays/python.nix;
|
||||
applyOverlays = overlays: ({...}:{ nixpkgs.overlays = overlays; });
|
||||
flakes = {...}: {nix.settings.experimental-features = [ "nix-command" "flakes" ];};
|
||||
in {
|
||||
|
@ -43,7 +44,7 @@
|
|||
specialArgs = attrs;
|
||||
modules = [
|
||||
flakes
|
||||
(applyOverlays [ unfree-overlay unstable-overlay ])
|
||||
(applyOverlays [ unfree-overlay unstable-overlay python-overlay ])
|
||||
./machines/kcnhub/configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
];
|
||||
|
|
|
@ -200,7 +200,7 @@
|
|||
|
||||
# Neural Data Processing Libraries
|
||||
# Temporarily broken?: https://github.com/NixOS/nixpkgs/issues/259812
|
||||
# mne-python
|
||||
mne-python
|
||||
nibabel
|
||||
# View niftis!
|
||||
ipyniivue
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
final-py: prev-py: {
|
||||
mne-python = prev-py.mne-python.overridePythonAttrs (old: {
|
||||
pyproject = true;
|
||||
format = null;
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [
|
||||
final-py.setuptools-scm
|
||||
];
|
||||
});
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
final: prev: {
|
||||
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [(
|
||||
(import ./python-packages.nix)
|
||||
)];
|
||||
}
|
Loading…
Reference in New Issue