Created
October 3, 2019 09:29
-
-
Save floscr/b1a4de4a151bb16e36ec02d8d9b77920 to your computer and use it in GitHub Desktop.
Ruby minor version issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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