chruby
poetry2nix
chruby | poetry2nix | |
---|---|---|
17 | 21 | |
2,834 | 731 | |
- | 3.6% | |
2.6 | 9.7 | |
about 1 year ago | 3 days ago | |
Shell | 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.
chruby
-
Test Driving a Rails API - Part One
Let’s get started. I prefer to manage my Ruby installations on my development machine with chruby paired with ruby-install. Another outstanding set of tools is rbenv with ruby-build. I highly recommend installing Ruby with one of those two sets of tools. Follow the instructions on their project’s READMEs. For this article, I’ll be running Ruby (MRI) v3.3.0.
-
Jekyll Tutorial: How To Create a Static Website
To fix this, you’d need to install Ruby correctly using a version manager such as chruby. You’d need to install Homebrew on your Mac first using the command below in your terminal:
-
As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/…
Now about the second point on the complexity of the shim strategy (cf. the rbenv implementation) with respect to the PATH update strategy (cf. the chruby implementation), what do you think?
-
Local dev environment management tool
I don’t want any of the bells & whistles that come with rvm and rbenv; I prefer the simplicity of chruby. I’ve used it for 10 years (is that possible?!) and I’ve never cursed at it.
-
command outputting source instead of executing
When you type chruby, the function is executed. If it doesn't do what you expect, it's either an issue with the function or your expectations aren't warranted. In any case you'll need to seek help from people who supplied you with this function. If your chrubby function is this one, you can ask from help on https://github.com/postmodern/chruby.
-
Fixing Ruby gems installation once and for all
I knew I saw your username somewhere in my investigation: Properly handle gems installed via --user-install.
- Fastlane is so bad
-
Mac M1 ruby 2.3
I use homebrew, chruby, and ruby-install.
- Ruby feature I want
- Ruby Mac M1 Chip Monterey issues
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?
rbenv - Manage your app's Ruby environment
mach-nix - Create highly reproducible python environments
RVM - Ruby enVironment Manager (RVM)
flake-utils-plus - Use Nix flakes without any fluff.
ruby-build - A tool to download, compile, and install Ruby on Unix-like systems.
nixos-generators - Collection of image builders [maintainer=@Lassulus]
ruby-install - Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby
age - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
fry - Simple ruby version manager for fish
nix - Nix, the purely functional package manager