-
If I have a setup.cfg that contains a "direct reference" (https://www.python.org/dev/peps/pep-0440/#direct-references) like
```
[options]
install_requires =
tahoe-lafs @ https://github.com/t…
-
It is often the case that I want to quickly spawn a shell without creating 15 lines of flake.nix. Mach-nix was proposing a syntax like:
```
$ nix shell mach-nix#gen.python.package1.package2
```
wh…
-
```console
$ nix shell github:DavHau/mach-nix
$ echo $?
0
$ mach-nix
bash: mach-nix: command not found
$ nix --version
nix (Nix) 2.8.1
```
Did I do something wrong here?
MacOS 12.4
-
I tried
```
mach-nix env ./env -r mypy.txt
```
where mypy.txt is https://github.com/zulip/zulip/blob/299995bd3a348d77de770dc27a8ec4f4b1d42a8e/requirements/mypy.txt.
I got the following error …
-
In my `default.nix` I have:
```
let mach-nix = import (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix";
ref = "refs/heads/conda-beta";
}) {
python = "python37";
…
-
Given this `shell.nix`:
```
let
mach-nix = import (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix/";
ref = "refs/tags/3.5.0";
}) {};
pythonEnv = mach-nix.mkPython…
-
Hi there,
I'm unable to create python27 environments with `mach-nix`. This minimal example:
```
{
description = "Python 2 Environment";
inputs = {
mach-nix.url = "mach-nix/3.4.0";
…
-
```nix
{
description = "Flake to manage python environment";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
mach-nix.url = "mach-nix/3.5.0";
flake-utils.url = …
-
Nix newbie here. While trying to run a shell using this flake:
```nix
{
inputs = {
mach-nix.url = "mach-nix/3.5.0";
};
outputs = {self, nixpkgs, mach-nix }@inp:
let
l =…
-
```
# clone mach-nix
nix-env -if . -A mach-nix
mach-nix gen -r "/home/requirements.txt"
```
```
unpacking...
[19.6 MiB DL]
path is '/nix/store/8c57r1znw2847p2f27g0nlh57dmqfv46-2247d824fe07f16…
InLaw updated
3 years ago