Skip to content

Instantly share code, notes, and snippets.

@floscr
Created October 3, 2019 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floscr/b1a4de4a151bb16e36ec02d8d9b77920 to your computer and use it in GitHub Desktop.
Save floscr/b1a4de4a151bb16e36ec02d8d9b77920 to your computer and use it in GitHub Desktop.
Ruby minor version issue
let
pkgs = import <nixpkgs> {}
{
inherit overlays;
};
# unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) { };
stdenv = pkgs.stdenv;
ruby = pkgs.ruby_2_4;
rubygems = (pkgs.rubygems.override { ruby = ruby; });
in stdenv.mkDerivation rec {
name = "name";
buildInputs = [
ruby
pkgs.git
pkgs.bundix
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment