Skip to content

Commit

Permalink
version 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DavHau committed Mar 12, 2021
1 parent afcfd0d commit ac62255
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
19 changes: 18 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# 3.2.0 (11 Mar 2021)
bugfixes, ignoreCollisions

### Features
- add argument `ignoreCollisions` to all `mk*` functions
- add passthru attribute `expr` to the result of `mkPython`, which is a string containing the internally generated nix expression.
- add flake output `sdist` to build pip compatible sdist distribution of mach-nix

### Fixes
- Sometimes wrong package versions were inherited when using the `nixpkgs` provider, leading to collision errors or unexpected package versions. Now, python depenencies of `nixpkgs` candidates are automatically replaced recursively.
- When cross building, mach-nix attempted to generate the nix expression using the target platform's python interpreter, resulting in failure

### Package Fixes
- cartopy: add missing build inputs (geos)
- google-auth: add missing dependency `six` when provider is `nixpkgs`


# 3.1.1 (27 Nov 2020)
fix cli

Expand Down Expand Up @@ -100,7 +117,7 @@ in
- Non-python packages can be passed via `packagesExtra` to include them into the environment.
the target platform's python interpreter was used to generate the nix expression, resulting in a failing build
### Improvements
- rework the logic for inheriting dependencies from nixpkgs
- fixes.nix: allow alternative mod function signature with more arguments:
Expand Down
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ Table of Contents
You can either install mach-nix via pip or by using nix in case you already have the nix package manager installed.
#### Installing via pip
```shell
pip install git+git://github.com/DavHau/mach-nix@3.1.1
pip install git+git://github.com/DavHau/mach-nix@3.2.0
```
#### Installing via nix
```shell
nix-env -if https://github.com/DavHau/mach-nix/tarball/3.1.1 -A mach-nix
nix-env -if https://github.com/DavHau/mach-nix/tarball/3.2.0 -A mach-nix
```

---
Expand Down Expand Up @@ -99,7 +99,7 @@ You can call mach-nix directly from a nix expression
let
mach-nix = import (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix/";
ref = "refs/tags/3.1.1";
ref = "refs/tags/3.2.0";
}) {};
in
mach-nix.mkPython {
Expand Down
4 changes: 2 additions & 2 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ every mach-nix expression should begin like this:
let
mach-nix = import (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix/";
ref = "refs/tags/3.1.1";
ref = "refs/tags/3.2.0";
}) {
# optionally bring your own nixpkgs
# pkgs = import <nixpkgs> {};
Expand Down Expand Up @@ -277,7 +277,7 @@ In this example, mach-nix is used to resolve our python dependencies and provide
let
mach-nix = import (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix/";
ref = "refs/tags/3.1.1"; # update this version
ref = "refs/tags/3.2.0"; # update this version
}) {
python = "python37";
};
Expand Down
2 changes: 1 addition & 1 deletion mach_nix/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
master
3.2.0

0 comments on commit ac62255

Please sign in to comment.