Skip to content

Commit b37d9bb

Browse files
committed
version 2.4.0
1 parent 5269a1f commit b37d9bb

4 files changed

Lines changed: 26 additions & 5 deletions

File tree

Changelog.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# 2.4.0 (20 Sep 2020)
2+
Global conditional overrides, simple overrides for buildPythonPackage, improved metadata extraction, fix wheel selection
3+
4+
### Features
5+
- **Global conditional overrides**: Similar to the overrides from poetry2nix, this allows users to upstream their 'fixes' for python packages. Though, a special format is used here which is optimized for human readability and allows to define a condition for each fix. Therefore fixes are applied on a granular basis depending on the metadata of each package like its `version`, `python version`, or `provider`. This format is designed in a way, so it could easily be reused by projects other than mach-nix. Please contribute your fixes to [./mach_nix/fixes.nix](https://github.com/DavHau/mach-nix/blob/master/mach_nix/fixes.nix)
6+
- Simplified overrides are now also available for buildPythonPackage (underscore argument)
7+
- Inherit passthru from nixpkgs: Reduces risk of missing attributes like `numpy.blas`.
8+
- Allow passing a string to the `python` argument of mkPython: Values like, for example, `"python38"` are now accepted in which case `pkgs.python38` will be used. The intention is to reduce the risk of accidentally mixing multiple nixpkgs versions.
9+
- Improved error handling while extracting metadata from python sources in buildPythonPackage.
10+
11+
### Fixes
12+
- Selecting `extras` when using `buildPythonPackage` didn't have any effect
13+
- The `passthru` argument for `buildPythonPackage` was ignored
14+
- The `propagatedBuildInputs` argument for `buildPythonPackage` was ignored
15+
- Wheels with multiple python versions in their filename like `PyQt5-...-cp35.cp36.cp37.cp38-...whl` were not selected correctly.
16+
17+
### Package Fixes:
18+
- tensorflow: collision related to tensorboard
19+
- orange3: broken .so file caused by fixupPhase (probably due to shrinking)
20+
- ldap0: add misssing build inputs.
21+
122
# 2.3.0 (26 Aug 2020)
223
simplified override system, autodetect requirements, improved success rate
324

Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ Table of Contents
5454
You can either install mach-nix via pip or by using nix in case you already have the nix package manager installed.
5555
#### Installing via pip
5656
```shell
57-
pip install git+git://github.com/DavHau/mach-nix@2.3.0
57+
pip install git+git://github.com/DavHau/mach-nix@2.4.0
5858
```
5959
#### Installing via nix
6060
```shell
61-
nix-env -if https://github.com/DavHau/mach-nix/tarball/2.3.0 -A mach-nix
61+
nix-env -if https://github.com/DavHau/mach-nix/tarball/2.4.0 -A mach-nix
6262
```
6363

6464
---
@@ -90,7 +90,7 @@ You can call mach-nix directly from a nix expression
9090
let
9191
mach-nix = import (builtins.fetchGit {
9292
url = "https://github.com/DavHau/mach-nix/";
93-
ref = "refs/tags/2.3.0";
93+
ref = "refs/tags/2.4.0";
9494
});
9595
in
9696
mach-nix.mkPython {

examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
let
3434
mach-nix = import (builtins.fetchGit {
3535
url = "https://github.com/DavHau/mach-nix/";
36-
ref = "refs/tags/2.3.0";
36+
ref = "refs/tags/2.4.0";
3737
});
3838
in
3939
...

mach_nix/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0
1+
2.4.0

0 commit comments

Comments
 (0)