nix-ld
poetry2nix
nix-ld | poetry2nix | |
---|---|---|
13 | 21 | |
676 | 731 | |
- | 2.9% | |
5.9 | 9.7 | |
5 months ago | about 16 hours ago | |
C | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nix-ld
- Nix-ld: Run unpatched dynamic binaries on NixOS
- Devenv, Poetry, and Helix
-
VSCode, Copilot and LD_LIBRARY_PATH
You may be interested in `nix-ld`. https://github.com/Mic92/nix-ld
-
Setting up Stabe Diffusion on NixOS
As I mentioned I used nix-index to build LD_LIBRARY_PATH. I believe I picked that up from nix-ld. The README on that page shows an example and mentions some tools (nix-autobahn, nix-alien, and nix-index) to help figure it out.
-
"global" c libaries in nixos?
Hi guys, I really like NixOS. I also do not want to miss nix-ld, because it allows me to run "normal" Linux programs on nix.
- NixOS 22.11 “Raccoon” Released
-
We want to make Nix better
As someone who has been using NixOS for a couple of years now, I really want to say how appreciative I am of everybody for making noticeable improvements to the system on a somewhat regular basis. The nix command keeps on adding great new features like flake templates and bundling as well as just being more user friendly (error messages, actionable hints, etc.) Additionally, tools like nix-ld [1] make nix more usable than ever with software from external sources. Things just keep on getting better for NixOS users!
Despite the reputation, I feel that NixOS or some derivative of it has the power to become the best distribution for non-technical users in the long run. What NixOS has done is effectively built an interface to every component of a modern Linux system, all that needs to be built is a user application to take advantage of it. Of course, there still needs be some improvements in Nix itself for it to blossom into its final form, but I really see a path to greatness here.
I have often thought about creating a simple unified Win2K-esq or BeOS-like X11 WM/DE specifically for NixOS but unfortunately I like the time/motivation.
[1] https://github.com/Mic92/nix-ld
-
Any of you went/planning to go back to Arch (or other) as daily driver?
Regarding the ld thing, I don't know if this is relevant but probably: https://github.com/Mic92/nix-ld
-
Running non nixified packages on NixOS
Have a look at nix-ld and nix-autobahn.
- Is there an actual way of installing libraries globally?
poetry2nix
-
Things I've learned about building CLI tools in Python
How about converting it to Nix derivation?
https://github.com/nix-community/poetry2nix
-
Poetry2nix: mismatch cryptography sha256 but unable to modify
This looks really strange because I do not know how to solve it and also because it looks like the sha256 that I am setting is not the one that Nix will match. I read also https://github.com/nix-community/poetry2nix/issues/413 but I was not able to solve the problem.
-
As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/…
There's a project that does this with using Nix: https://github.com/takeda/nix-cde (this is a wrapper around https://github.com/nix-community/poetry2nix)
-
Issue building pycairo in python flake
{ description = "Application packaged using poetry2nix"; inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.poetry2nix = { url = "github:nix-community/poetry2nix"; inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, flake-utils, poetry2nix }: flake-utils.lib.eachDefaultSystem (system: let # see https://github.com/nix-community/poetry2nix/tree/master#api for more functions and examples. inherit (poetry2nix.legacyPackages.${system}) mkPoetryEnv; pkgs = import nixpkgs {inherit system;}; python = pkgs.python310; pythonEnv = mkPoetryEnv { inherit python; projectDir = ./.; preferWheels = true; }; in { #packages.default = mkPoetryEnv { # projectDir = ./.; # python = pkgs.python310; #}; devShells.default = pkgs.mkShell { buildInputs = [pythonEnv]; packages = [ poetry2nix.packages.${system}.poetry pkgs.cairo pkgs.pkg-config pkgs.gobject-introspection pkgs.tk ]; }; }); }
-
Setting up Stabe Diffusion on NixOS
A cleaner way might be to use https://github.com/nix-community/poetry2nix which can load poetry.lock inside Nix. I still need to try it for torch, but it does seem like a clean way to use it.
- Ask HN: Is anyone successfully self-hosting Firefox Sync?
-
How do I install dependencies for a python application
The README for poetry2nix (https://github.com/nix-community/poetry2nix) seems to indicate that all extras should be enabled by default.
-
how to install Python packages not yet in the Nix repo?
if it's for a project you're working on, i'd recommend just using poetry2nix
- What is the point of containers in prod if one can use Nix everywhere?
-
Issue when installing python packages
poetry2nix is another popular option.
What are some alternatives?
neovim-nightly-overlay - [maintainer=@Kranzes]
mach-nix - Create highly reproducible python environments
live-bootstrap - Use of a Linux initramfs to fully automate the bootstrapping process
flake-utils-plus - Use Nix flakes without any fluff.
nixos-hardware - A collection of NixOS modules covering hardware quirks.
nixos-generators - Collection of image builders [maintainer=@Lassulus]
nix-autobahn
age - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
aconfmgr - A configuration manager for Arch Linux
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
nix-alien - Run unpatched binaries on Nix/NixOS
nix - Nix, the purely functional package manager