-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TODOs #1
Comments
TODO:
nix \
profile \
install \
nixpkgs#python3Full \
nixpkgs#python3Full.pkgs.pip \
nixpkgs#python3Full.pkgs.virtualenv \
nixpkgs#python3Full.pkgs.setuptools \
nixpkgs#python3Full.pkgs.wheel \
nixpkgs#python3Full.pkgs.venvShellHook \
&& nix store gc nix \
shell \
--impure \
--expr \
'
(
with builtins.getFlake "github:NixOS/nixpkgs/d639b2dfacdb3464faa11936a8c751ea3ff57775";
with legacyPackages.${builtins.currentSystem};
python3.withPackages (p: with p; [
pip
virtualenv
setuptools
wheel
venvShellHook
numpy
])
)
' \
--command \
python3 -c 'import numpy as np; np.show_config(); print(np.__version__)' nix \
shell \
nixpkgs#{python37,python38,python39,python310} python3.7 --version
python3.8 --version
python3.9 --version
python3.10 --version |
TODO: how to test it? A test for
nix \
shell \
--impure \
--expr \
'(
with builtins.getFlake "github:NixOS/nixpkgs/d639b2dfacdb3464faa11936a8c751ea3ff57775";
with legacyPackages.${builtins.currentSystem};
python3.withPackages (p: with p; [ numpy ])
)' \
--command \
python3 -c 'import numpy as np; np.show_config(); print(np.__version__)' Refs.: { nix \
shell \
--impure \
--expr \
'(
with builtins.getFlake "github:NixOS/nixpkgs/d639b2dfacdb3464faa11936a8c751ea3ff57775";
with legacyPackages.${builtins.currentSystem};
python3.withPackages (p: with p; [ packaging ])
)' \
--command \
python \
-c \
"from packaging import tags; print('\n'.join([str(t) for t in tags.sys_tags()]))" } | curl -F 'f:1=<-' ix.io Refs.:
TODO: read all this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NYLUG Presents: Sneaking in Nix - Building Production Containers with Nix +
Optimising Docker Layers for Better Caching with Nix
+
Developing Python with Poetry & Poetry2nix: Reproducible flexible Python environments
Replicate this Pillow is missing libX11 on WSL
About musl + position independent executables PIE: Small, Simple, and Secure: Alpine Linux under the Microscope
About ruby and gems lock: Long Shipit! Presents: How Shopify Uses Nix, short Shipit! Presents: How Shopify Uses Nix
poetry add -vvv git+https://github.com/matemax/test_poetry_submodule.git
python-poetry/poetry#1828
Manage dependencies of git submodules with poetry
Anaconda was messing the PATH environment variable: How do I deal with certificates using cURL while trying to access an HTTPS url?
Make as example:
TODO: document it https://stackoverflow.com/a/58092909
preferWheel = true;
From: nix-community/poetry2nix#42 (comment)
From: nix-community/poetry2nix#46
TODO: https://discourse.nixos.org/t/preparing-a-nix-flake-for-a-python-program-migra-using-poetry/12030/9
TODO:
Why
netbase
is only in the debian image? How is the python (especially the python3Minimal) from nixpkgs dealing with thistzdata
dependency?https://search.nixos.org/packages?channel=21.05&show=tzdata&from=0&size=50&sort=relevance&query=tzdata
Init poetry project
Bloated:
https://github.com/numpy/numpy/blob/76930e7d0c22e227c9ff9249a90a6254c5a6b547/doc/HOWTO_RELEASE.rst.txt#make-sure-current-branch-builds-a-package-correctly
TODO:
The text was updated successfully, but these errors were encountered: