Python: MNE-Fix
parent
29a13e0149
commit
d14c11f044
|
@ -35,6 +35,7 @@
|
||||||
config.cudaSupport = true;
|
config.cudaSupport = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
python-overlay = import ./overlays/python.nix;
|
||||||
applyOverlays = overlays: ({...}:{ nixpkgs.overlays = overlays; });
|
applyOverlays = overlays: ({...}:{ nixpkgs.overlays = overlays; });
|
||||||
flakes = {...}: {nix.settings.experimental-features = [ "nix-command" "flakes" ];};
|
flakes = {...}: {nix.settings.experimental-features = [ "nix-command" "flakes" ];};
|
||||||
in {
|
in {
|
||||||
|
@ -43,7 +44,7 @@
|
||||||
specialArgs = attrs;
|
specialArgs = attrs;
|
||||||
modules = [
|
modules = [
|
||||||
flakes
|
flakes
|
||||||
(applyOverlays [ unfree-overlay unstable-overlay ])
|
(applyOverlays [ unfree-overlay unstable-overlay python-overlay ])
|
||||||
./machines/kcnhub/configuration.nix
|
./machines/kcnhub/configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
];
|
];
|
||||||
|
|
|
@ -200,7 +200,7 @@
|
||||||
|
|
||||||
# Neural Data Processing Libraries
|
# Neural Data Processing Libraries
|
||||||
# Temporarily broken?: https://github.com/NixOS/nixpkgs/issues/259812
|
# Temporarily broken?: https://github.com/NixOS/nixpkgs/issues/259812
|
||||||
# mne-python
|
mne-python
|
||||||
nibabel
|
nibabel
|
||||||
# View niftis!
|
# View niftis!
|
||||||
ipyniivue
|
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