Created
October 3, 2019 09:29
-
-
Save floscr/daa5e58e2a14c0226df62cf2b59ef1a8 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